Skip to content

#Result

VariableResultRead / writeString

Also searchable as: #Result · Result · return value

#Result is the value the last return gave back from a sub, or N/A when that return had no value. A return outside a sub leaves it as it was.

gosub double 21
display ok #Result ; 42
halt
sub double
return %1 * 2

See also

Based on the EasyUO wiki, edited for EasyUO Reforged. This text is available under the GNU Free Documentation License 1.2.