<head><title>ColdC: Function/Method Reference: subbuf()</title></head> <body> <h1 align=center><a href="/ColdC/">ColdC</a>: <a href="/ColdC/Functions/">Function/Method Reference</a>: subbuf()</h1> <hr> <p> <font size=+1><i>BUFFER</i> <b>subbuf</b>(<i>BUFFER <b>buf</b>, INTEGER <b>start</b>[, INTEGER <b>length</b>]</i>)</font> <p>This function returns a subrange of the buffer specified by <var>buf</var>. The subrange starts at position <var>start</var>, and continues <var>length</var> characters. If <var>length</var> is unspecified, it will continue to the end of the buffer. If <var>start</var> is outside of the range of the buffer, or <var>length</var> will extend past the end of the buffer, the error <code>~range</code> is thrown. <p><hr size=4><p align=center><i>Last Modified on 24 Mar 1996</i> <br><i>Copyright © 1995, 1996, Brandon Gillespie</i> </body>