up previous next
convert to a string and truncate
$io.SprintTrunc(E: OBJECT, N: INT): STRING |
***** NOT YET IMPLEMENTED *****
This function works like
sprint
, turning the value of the
expression E into a string, but if the string has length greater than
N-1, it is truncated and the string
...
is concatenated. This
function is useful in formatting reports of results.
Use R ::= QQ[x,y];
I := ideal(x,y);
$io.SprintTrunc(I,4);
Idea...
-------------------------------
|