Localize()

From TinyMUX
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


FUNCTION: localize(<expression>)

This function evaluates <expression> using its own private copy of the global r-registers. That is, the global registers are saved before <expression> is evaluated and restored afterwards.

This allows the <expression> to alter the r-registers without affecting the softcode outside the localize() invocation.

In many ways, localize() is the same as ulocal() except that <expression> is given as an argument instead of stored on an attribute.

Related Topics

ulocal(), objeval(), s()