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

mondrillo mondrillo at terra.es
Wed Aug 31 08:26:40 CEST 2005


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 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 file. But, can I pass from C this function?, or call
> > a libc (thinks is this lib that has setenv() ) from Pascal to execute
> > setenv().
> >
> > Thank's and regards.
> >
> >
> > _______________________________________________
> > fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> > http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> >
> 
> 
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal




More information about the fpc-pascal mailing list