Answer

问题及解答

从某个文件读入 GAP 代码

Posted by haifeng on 2011-08-06 16:00:57 last update 2011-08-06 16:05:40 | Edit | Answers (0)

当 GAP 代码很长时, 保存在文件中是最合适的. 读取时使用 Read 函数:

gap>Read(\"../../GAPProgs/Example.g\");

可以是相对路径或绝对路径.