ExecList

From NexusWiki
Revision as of 23:41, 19 June 2009 by Arparso (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

ExecList (list, condition);

It evaluates the term for all of the list’s elements. This usually means the execution of the commands, but it can mean something else too, e.g. summarizing. E.g.: ExecList(1, Explode_listobject()) all objects that are in the list will explode, sum=0; ExecList(1, set(sum, sum+S.energy)) it sums the energy of the list’s objects into a variable called sum.