Name returnstringvar
Definition returnstringvar(s:val(string)):expr(void).
Example foo:expr(string)=(
s:var(string).
newstringvar(s);
...
returnstringvar(s)
).
Defined in strings.l
Implementation icode
Description Return a local string variable as the result of a function. A variable returned in this way must not be finalised using endstringvar. A variable that is not local to the current function (i.e. it would not otherwise need to be finalised at this point) can be returned just by writing it as the last line of the function.
Note In some future version of LARD this function may be called automatically - but don't hold your breath.