<head><title>ColdC: Function/Method Reference: random()</title></head> <body> <h1 align=center><a href="/ColdC/">ColdC</a>: <a href="/ColdC/Functions/">Function/Method Reference</a>: random()</h1> <hr> <p> <font size=+1><i>INTEGER</i> <b>random</b>(<i>INTEGER <b>max</b></i>)</font> <p>This function returns a random integer between one and <VAR>max</VAR>. <p>Examples: <blockquote><pre> random(10) => 3 </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>