bpcompat-1.0.zip_(re)

Wed, 28 May 1997 12:14:22 +0200 (MET DST)


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]


Peter Gerwinski (peter@agnes.dida.physik.uni-essen.de)

HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada - Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es