[GAP Forum] GAP argument vector

Tim Kohl tkohl at math.bu.edu
Sat Mar 3 16:55:38 GMT 2018


This is exactly what I was looking for. Thanks for all the suggestions.

> 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