Eval()

From TinyMUX
Revision as of 00:59, 28 November 2010 by Ihavenomouth (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


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()