numlib::fromAscii

Decoding of ASCII codes

Use only in the MuPAD Notebook Interface.

This functionality does not run in MATLAB.

Syntax

numlib::fromAscii(listOfCodes)

Description

If L is a list of ASCII codes then numlib::fromAscii(L) returns the string coded by L.

ASCII codes of non-printable characters, i. e., codes between 0 and 8 and between 11 and 31, are ignored.

numlib::fromAscii returns an error if its argument is not a list of integers between 0 and 127, i. e., not a list of legal ASCII codes.

Examples

Example 1

Non-printable characters are ignored, but tabulator and newline characters are decoded.

L := [0,1,2,3,9,10,31,10,9,32,45,32,101,105,110,32,
            84,101,115,116,32,61,32,97,32,116,101,115,116]:
numlib::fromAscii(L)

Parameters

listOfCodes

A list of ASCII codes

Return Values

String

See Also

MuPAD Functions

Was this topic helpful?