Subj : Pascal & CGI To : Andy Ball From : Jasen Betts Date : Mon Mar 29 2004 07:32 pm Hi Andy. 27-Mar-04 23:31:46, Andy Ball wrote to Scott Little AB> Hello Scott, SL>> IIRC, it's all just environment variables and stdin... AB> I think my Pascal book pre-dates environment variables ;-) It AB> looks like you're using getenv('ENVIRONMENTVARIABLENAME') to read AB> them. I'll have to try that with my Pasca 'compiler' (I'm using AB> p2c, a Pascal -> C translator combined with a simple shell script AB> to do Pascal -> C -> Object in one fell swoop). I forget how p2c will convert functions it doesn't recognise ISTR it does something pretty sensible, C has an equivalent getenv so it should work for you... I wonder what it'd do if I tried to use printf() :^) -=> Bye <=- --- * Origin: If at first you don't succeed, the hell with it. (3:640/1042) .