<head><title>ColdC: Function/Method Reference: setremove()</title></head> <body> <h1 align=center><a href="/ColdC/">ColdC</a>: <a href="/ColdC/Functions/">Function/Method Reference</a>: setremove()</h1> <hr> <p> <font size=+1><i>LIST</i> <b>setremove</b>(<i>LIST <b>list</b>, ANY <b>value</b></i>)</font> <p>This function removes <var>value</var> from <var>list</var>, if it exists, and returns the result. <p>Examples: <blockquote> <PRE> setremove([2, 3, 4, 'foo], 'foo) => [2, 3, 4] setremove([2, 3, 4], 5) => [2, 3, 4] setremove([2, 3, 2, 4], 2) => [3, 2, 4] </PRE> </blockquote> <p><hr size=4><p align=center><i>Last Modified on 24 Mar 1996</i> <br><i>Copyright © 1995, 1996, Brandon Gillespie</i> </body>