5.1.81 nameof
-------------
Syntax:
nameof ( expression )
Type:
string
Purpose:
returns the name of an expression as string.
Example:
  int i=9;
  string s=nameof(i);
  s;
==> i
  nameof(s);
==> s
  nameof(i+1); //returns the empty string:
==> 
  nameof(basering);
==> basering
  basering;
==>    ? `basering` is undefined
==>    ? error occurred in line 7: `  basering;`
  ring r;
  nameof(basering);
==> r
See
names;
reservedName;
typeof.
<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>
