[ library(gap) | Reference Manual | Alphabetic Index ]
gap_query(++Format, +Args, ?Result)
- Format string
- List of arguments
- Result (term)
Evaluates an expression in GAP and returns the result as an ECLiPSe term.
The expression is specified using Format and Args a la printf/2, and
should be a valid GAP expression (no terminating semicolon). The result
is returned as an ECLiPSe term in Result (it is an error if the result
returned from GAP is not a valid ECLiPSe term).
If there is no currently active GAP session, one is started before
sending the query.
gap_query_string / 3, gap_command / 2, printf / 2