This worked perfectly. Thanks to all for the different suggestions. Sent from my iPhone
> On Mar 2, 2018, at 2:06 PM, Max Horn <m...@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@gap-system.org > https://mail.gap-system.org/mailman/listinfo/forum _______________________________________________ Forum mailing list Forum@gap-system.org https://mail.gap-system.org/mailman/listinfo/forum