Eval()

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.


eval(<object>,<attribute>) eval(<string>)

The first form of the eval function works exactly like the get_eval function, but takes the object and attribute in two separate arguments instead of an obj/attr pair. It is mainly used for compatibility with PennMUSH 1.50. The second form simply evaluates <string>. This is normally done when a function is called, however, it is useful in evaluating %q and %v substitutions.

Related Topics

get_eval(), get(), xget()