track the return value; when the function name appears anywhere else in the statement block, the compiler interprets
it as a recursive call to the function itself.
Result
, on the other hand, can be used as a variable in operations,
typecasts, set constructors, indexes, and calls to other routines.
If the function exits without assigning a value to
Result
or the function name, then the function's return value is
undefined.
Dostları ilə paylaş: