/
ColdC/Functions/
ColdC/Structure/
<head><title>ColdC: Function/Method Reference: tostr()</title></head>

<body>

<h1 align=center><a href="/ColdC/">ColdC</a>: <a href="/ColdC/Functions/">Function/Method Reference</a>: tostr()</h1>

<hr>

<p>
<font size=+1><i>STRING</i> <b>tostr</b>(<i>ANY <b>data</b></i>)</font>

<p>This function returns a simple representation of the data specified by
<var>data</var>.  It is not a literal representation, as
<a href="toliteral.html"><code>toliteral()</code></a> does, but insteads
is more succinct.  For instance, with complex data types such as lists,
the returned representation is simply <code>"[list]"</code>.  Less
complex data types such as integers will still return the correct integer
value.

<p><hr size=4><p align=center><i>Last Modified on Mar 2 1996</i>
<br><i>Copyright &copy; 1995, 1996, Brandon Gillespie</i>
</body>