|
 |
Chris Cason <del### [at] deletethistoo povray org> wrote:
> Of course, this being C, 'TRUE' could be a macro that expands to a function
> that returns a value and thus the loop need not be infinite.
Actually there are other ways for the loop to end. For instance, the
function being called could execute an exit() call.
(Another less fancy way would be to return a null pointer from the
function, in which case the program will end with a segmentation fault.)
--
- Warp
Post a reply to this message
|
 |