5.1.6 charstr
-------------

Syntax:
charstr ( ring_name )
Type:
string
Purpose:
returns the description of the coefficient field of a ring.
Example:
  ring r=32003,(x,y),dp;
  charstr(r);
==> 32003
  ring s=0,(x,y),dp;
  charstr(s);
==> 0
  ring ra=(7,a),(x,y),dp;
  minpoly=a^3+a+1;
  charstr(ra);
==> 7,a
  ring rp=(49,a),(x,y),dp;
  charstr(rp);
==> 49,a
  ring rr=real,x,dp;
  charstr(rr);
==> real
See
char;
ordstr;
ring;
varstr.
<font size="-1">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; User manual for <a href="http://www.singular.uni-kl.de/"><i>Singular</i></a> version 2-0-4, October 2002,
generated by <a href="http://www.gnu.org/software/texinfo/"><i>texi2html</i></a>.
</font>

</body>
</html>
