4.2.4 Long Input

The GAP interface reads in even very long input (using files) in a robust manner, as long as you are creating a new object. Note: Using gap.eval for long input is much less robust, and is not recommended.

sage: t = '"%s"'%10^10000   # ten thousand character string.
sage: a = gap(t)

See About this document... for information on suggesting changes.