[fpc-pascal] old code with readdir

2005-08-24 Thread mondrillo
Error: Identifier not found "opendir" Hello list, I have old code from freepascal older than 2.0.0, and I want to migrate to amd64 debian, but have this error, I have read in googlin about this problem but the possible solutions, use oldlinux ( not avaliable with this version o freepascal) or ba

[fpc-pascal] set envirom variable with pascal in linux

2005-08-29 Thread mondrillo
Hello list, In Bach, Perl, can do set SDL_VER=`sdl-config --version` and in enviroment has the variable SDL_VER=1.2.3 for example. echo $SDL_VER 1.2.3 But in Pascal non have the setenv() procedure as in C :( Actualy I resolve this problem with sending the output to a file, and then reading the f

Re: [fpc-pascal] set envirom variable with pascal in linux

2005-08-30 Thread mondrillo
st of var's with values, and I'dont know why FP (I love it) cannot write in this array, perhaps do not implement yet. Thank's eveybody, and regards. El mar, 30-08-2005 a las 14:53 +0200, Marc Santhoff escribió: > Am Dienstag, den 30.08.2005, 08:47 +0200 schrieb mondrillo

Re: [fpc-pascal] set envirom variable with pascal in linux

2005-08-30 Thread mondrillo
Thank's for the page El mar, 30-08-2005 a las 12:16 +0200, Alain Vitry escribió: > FYI, see > http://alain.vitry.free.fr/en/devel/devel-pascal.php > > Le 30 août 05, à 08:47, mondrillo a écrit : > > > Hello list, > > > > In Bach, Perl, can do set SDL

[fpc-pascal] Re: set envirom variable with pascal in linux

2005-08-30 Thread mondrillo
Thank's for the response, perhaps it's my arch ( amd64 ) and compiler 2.0.0, but when I execute this code say : ./sdlver 1.5426178.-248 if I execute `$sdl-config --version` output is not the same :( 1.2.8 El mar, 30-08-2005 a las 08:23 -0500, Jeff Pohlmeyer escribió: > > > In Bach, Perl, can