List questions

Mickael Remond mikl@REDACTED
Fri Sep 10 07:35:09 CEST 1999


I was very surprised with the result of the following commands :

19> [40].
"("
20> [45].
"-"
21> [60].
"<"
22> [80].
"P"


In fact, the result is displayed as a character corresponding to the
ascii code in the list.

This is quite surprising at first. In a complex command I search for a
bug because the function was not supposed to return strings.

I guess this has no consequence on the program logic, but you must be
very careful to avoid be trapped by what you see.


Have funs->

-- 
Mickael Remond
mikl@REDACTED
ICQ : 2265396



More information about the erlang-questions mailing list