Previous Page Next Page Contents

numlib::fromAscii -- decoding of ASCII codes

Introduction

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

Call(s)

numlib::fromAscii(listOfCodes)

Parameters

listOfCodes - a list of ASCII codes

Returns

a string

Related Functions

numlib::toAscii

Details

Error: Unexpected 'identifier' [col 3]

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)
                      "\t\n\n\t - ein Test = a test"

Changes




Do you have questions or comments?


Copyright © SciFace Software GmbH & Co. KG 2000