On Sat, 12 Oct 2013, szg...@szemerja-szasz.hu 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. ma...@svgalib.org _______________________________________________ Forum mailing list Forum@mail.gap-system.org http://mail.gap-system.org/mailman/listinfo/forum