The result variable

Every Slim function has an implicitly declared local variable, called result, of the same type as the return type of the function, and initialized to Undefined.

A function call which reaches the end of the sequence of instructions making up the function body, without encountering a return instruction, results in the value of this variable. The same applies when a return instruction without a return expression is encountered.


Herman Venter

This is Slim documentation as snarfed on 27 May 1999 by dB.