sprint |
Syntax |
sprint(E: OBJECT): STRING |
Description |
Example |
/**/ Use R ::= QQ[x,y]; /**/ I := ideal(x,y); /**/ J := sprint(I); /**/ I; ideal(x, y) /**/ J; -- The output for I and J looks the same, but ... ideal(x, y) /**/ type(I); -- I is an ideal, and IDEAL /**/ type(J); -- J is just the string "ideal(x, y)". STRING /**/ J[1]; -- the 1st character of J i /**/ J[2]; -- the 2nd character of J d /**/ len(J); -- J has 11 characters 11 |
See Also |