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

<body>

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

<hr>

<p>
<font size=+1><i>INTEGER</i> <b>rename_method</b>(<i>SYMBOL <b>old_name</b>, SYMBOL <b>new_name</b></i>)</font>

<p>This function finds the method named by <var>old_name</var> and renames
it to <b>new_name</b>.  If the method <var>old_name</var> cannot be found,
the error <code>~methodnf</var> is thrown.  If the method <var>new_name</var>
already exists the error <code>~method</code> is thrown.

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