[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6.10.4 strtoascii, asciitostr

strtoascii(str)
:: Converts a string into a sequence of ASCII codes.
asciitostr(list)
:: Converts a sequence of ASCII codes into a string.

return
strtoascii():list; asciitostr():string
str
string
list
list containing positive integers less than 256.

 
[0] strtoascii("abcxyz");
[97,98,99,120,121,122]
[1] asciitostr(@);
abcxyz
[2] asciitostr([256]);
asciitostr : argument out of range
return to toplevel



This document was generated by root on March, 5 2004 using texi2html