Main Page/Topic Parse

Revision as of 00:43, 29 August 2023 by GiuseppeChillemi (talk | contribs) (Created page with " Notes: _copy word any rule_ copies from the current position to the last position matched from a rule _any copy word rule_ copies from the last match (no after) parse ["a" "b" "c" d] [any [copy val string! (? val)] 'b] ; print each occurrence Similar functioning for set same as set set word any rule, sets the word from the first to the last item of the rule? pos: rule, sets the current position before the rule rule pos:, set pos to the position after the rule any...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Notes:

_copy word any rule_ copies from the current position to the last position matched from a rule

_any copy word rule_ copies from the last match (no after)

parse ["a" "b" "c" d] [any [copy val string! (? val)] 'b] ; print each occurrence

Similar functioning for set same as set

set word any rule, sets the word from the first to the last item of the rule?

pos: rule, sets the current position before the rule rule pos:, set pos to the position after the rule

any pos: rule , pos: is considered as a rule!