Name returnstringvalparam
Definition returnstringvalparam(s:val(string)):expr(void).
Example foo(s:val(string)):expr(string)=(
newstringvalparam(s);
...
returnstringvalparam(s)
).
Defined in strings.l
Implementation icode
Description Return a local string val parameter as the result of a function. A val parameter returned in this way must not be finalised using endstringvalparam. A val parameter 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.