brazilofmux / tinymux

TinyMUX
www.tinymux.org
48 stars 21 forks source link

Add citer() from Rhost. #555

Open brazilofmux opened 9 years ago

brazilofmux commented 9 years ago

Original issue 552 created by brazilofmux on 2009-01-09T06:58:32.000Z:

I was thinking that FOREACH() not having a odelimiter is rather weird, but then I realized that if it does, you might as well switch over to citer() from rhost:

Function: citer(<list>, <eval>[, <delim>])

<list> is a list of characters that you wish to iterate. The list can be any regular character (including spaces). <eval> is a string that is to be evaluated once for each character in <list>. It returns a SPACE (or optional delimited) separated list of these evaluations. The effect is similar to that of iter(), except it takes it as a character by character basis instead of a word by word basis. The special substitution of '##' is used for the current item of the list. #@ is used for the positional match of that item in that list.

Same function, except CITER() doesn't need a OBJECT or ATTRIBUTE to pull from.

brazilofmux commented 9 years ago

Comment #1 originally posted by brazilofmux on 2009-01-18T18:02:37.000Z:

<empty>

brazilofmux commented 9 years ago

Comment #2 originally posted by brazilofmux on 2009-01-18T18:02:54.000Z:

<empty>