reading an environment variable



Ciao Fabrizio,

> (2) to check whether maxima is running under
> windows or linux?
>

I don't know a better solution, but this works for me:

whichos():=
      if ?length(?\*autoconf\-win32\*) = 4
         then system("Viva Gates !")
         else system("Viva Torvalds !")$



-- 
--------------------------
Mario Rodriguez Riotorto
www.biomates.netnet