From: Ari Johnson Date: Tue, 9 Jun 2009 22:52:07 +0000 (+0000) Subject: Add apply() to help file X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=3474e175dc1c7bf7e8e38323c0302f9b8da2570b;p=cobramush.git Add apply() to help file --- diff --git a/game/txt/hlp/cobra_func.hlp b/game/txt/hlp/cobra_func.hlp index 542d08e..518c895 100644 --- a/game/txt/hlp/cobra_func.hlp +++ b/game/txt/hlp/cobra_func.hlp @@ -62,11 +62,12 @@ & Attribute functions All these functions access attributes on an object. - aposs() default() edefault() eval() filter() - filterbool() fold() foreach() get() grep() - grepi() lattr() nattr() obj() poss() - regrep() regrepi() subj() udefault() ufun() - uldefault() ulocal() v-function xget() zfun() + aposs() apply() default() edefault() eval() + filter() filterbool() fold() foreach() get() + grep() grepi() lattr() nattr() obj() + poss() regrep() regrepi() subj() udefault() + ufun() uldefault() ulocal() v-function xget() + zfun() See also: ATTRIBUTES, NON-STANDARD ATTRIBUTES & Bitwise functions @@ -480,6 +481,16 @@ Returns the absolute possessive pronoun - his/hers/its/theirs - for an object. +& APPLY() + apply([/], [, ]) + + Apply the given function, which may be a #lambda function, to the list + of arguments, the elements of which are separated by a space or by the + given one-character delimiter. + + apply(function,1 2 3) is equivalent to ufun(function,1,2,3) + + See also: ufun() & ART() art()