According to The African Chief:
[2] the SYSTEM unit is not totally portable - because of "itoa()" which I used in the "Str" procedure. itoa() converts an int to a CString. Is there a unix/Linux equivalent of this? I can use an IFDEF to link the unix/Linux equivalent if "__UNIX__" is defined.
You can convert an Integer to a String using Extended Pascal's `WriteStr' procedure:
WriteStr ( MyString, i : 7 );
This *is* portable.
Peter
Dipl.-Phys. Peter Gerwinski, Essen, Germany, free physicist and programmer peter.gerwinski@uni-essen.de - http://home.pages.de/~peter.gerwinski/ [970201] maintainer GNU Pascal [970510] - http://home.pages.de/~gnu-pascal/ [970125]