<head><title>ColdC: Function/Method Reference: set_var()</title></head> <body> <h1 align=center><a href="/ColdC/">ColdC</a>: <a href="/ColdC/Functions/">Function/Method Reference</a>: set_var()</h1> <hr> <p> <font size=+1><i>ANY</i> <b>set_var</b>(<i>SYMBOL <b>name</b>, ANY <b>value</b></i>)</font> <p>This function sets the value of an object variable on the current object. The variable must be defined on the object which defined the method which is calling <code>set_var()</code>. Using this function is the same as using the assignment operator. If the object variable is not defined, the error <code>~varnf</code> is thrown. The return value for <code>set_var()</code> is the second argument <code>value</code>. <p> <hr size=4><p align=center><i>Last Modified on Jan 25 1996</i> <br><i>Copyright © 1995, 1996, Brandon Gillespie</i> </body>