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_VER=`sdl-config --version` > > and in envirom

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

2005-08-30 Thread mondrillo
Thanks, is the only think that I probe and runs ok!!! program shell2; uses baseunix, sysutils; begin writeln('glx-config Version:',fpGetenv('SDL_VER')); end. export SDL_VER=`sdl-config --version`; ./shell2 glx-config Version:1.2.8 Note. I have put the clause EXPORT because I'm usi

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

2005-08-30 Thread Marc Santhoff
Am Dienstag, den 30.08.2005, 08:47 +0200 schrieb 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

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

2005-08-30 Thread Michael Van Canneyt
On Tue, 30 Aug 2005, mondrillo wrote: > 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 w

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

2005-08-30 Thread Alain Vitry
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_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() p

[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