$world->makepermanent
$world->makepermanent function: MAKEs variables PERMANENT
void $world->makepermanent( |
var
, |
...
) ; |
This function marks one or more variables as permanent, that is, the values of these variables will be saved when the world is closed, and reloaded when the World is opened, thus keeping their values between successive uses of the World.
The names of the variables are passed as a string, including the
$
, @
or %
prefix. Be careful to use single quotes (or \
inside double quotes) to avoid variable interpolation.