REBOL 3.0

PARSE: new keyword restrictions

Carl Sassenrath, CTO
REBOL Technologies
21-Sep-2009 0:35 GMT

Article #0245
Main page || Index || Prior Article [0244] || Next Article [0246] || 4 Comments || Send feedback

As part of the w:parse update, we are removing a few obscure word referencing capabilities:

You cannot use a variable to hold get and set word actions:

a: first [b:]
parse "abc" [a "abc"]  << an error now

You cannot use a variable to hold parse commands:

copie: 'copy
parse "abc" [copie here "abc"] << an error now

Keywords cannot be used as variables:

parse "abc" [copy: "abc"] << an error now

Please tell us immediately if this is a problem for you or your code.

Parse Summary updated.

4 Comments

REBOL 3.0
Updated 23-Nov-2024 - Edit - Copyright REBOL Technologies - REBOL.net