Marcus Bishop wrote:
When I write a program called myprogram.g and execute it with
the gap prompt returns after gap finishes reading myprogram.g
in spite of that I put
in the last line of myprogram.g. Apparently Read ignores
the quit command?
It does not ignore it. `quit' in a file means to quit reading the
Does anyone know how to run gap noninteractivly?
Assuming you are running a Unix-style operating system:
gap -b < myprogram.g >> mylogfile
Instead of -b you might prefer -q if you do not want prompts.