After downloading the Windows version of the GAP system, I want to ask if GAP can read the file in specified path in Windows? What is the command to load a GAP script in the Windows environment?
The command is called Read (enter ?Read in GAP to see the documentation). The trick on Windows is to replace \ by /. For example one should call
gap> Read("C:/Users/myname/gap/program.g");
to read a file that Windows would call
C:\Users\myname\gap\program.g
Also, I'd recommend to avoid paths containing spaces.
P.S. If you prefer to ask questions about GAP in StackExchange framework, I'd recommend to try to ask them at the Mathematics Q&A site.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With