On Sat, 12 Oct 2013, [email protected] wrote:
Permutation is not a string, but input from InputTextFile is a string. How can I transform a string to a permutation?
There is the function EvalString(). I have a function for this purpose: ReadAsExpression:=function(n) local f,e; f:=InputTextFile(n); e:=ReadAll(f); CloseStream(f); return EvalString(e); end; -- Matan Ziv-Av. [email protected] _______________________________________________ Forum mailing list [email protected] http://mail.gap-system.org/mailman/listinfo/forum
