[GAP Forum] GAP argument vector

Tim Kohl tkohl at bu.edu
Sat Mar 3 16:22:02 GMT 2018


This worked perfectly. Thanks to all for the different suggestions.

Sent from my iPhone

> On Mar 2, 2018, at 2:06 PM, Max Horn <max at quendi.de> wrote:
> 
> Dear all,
> 
> a simpler way to accessing the environment is to use GAPInfo.SystemEnvironment.
> 
> So e.g. you could do this on the command line to start GAP (at least with bash and other bourne shells)
> 
> VALUE=5 gap myfile.g
> 
> and in myfile.g, retrieve the value as a string via
>   GAPInfo.SystemEnvironment.VALUE
> 
> Cheers,
> Max
> _______________________________________________
> Forum mailing list
> Forum at gap-system.org
> https://mail.gap-system.org/mailman/listinfo/forum




More information about the Forum mailing list