REBOL 3.0

PROTECT with path targets

Carl Sassenrath, CTO
REBOL Technologies
7-Nov-2009 6:07 GMT

Article #0292
Main page || Index || Prior Article [0291] || Next Article [0293] || 1 Comments || Send feedback

Part of the problem with protect-system-object is that protect does not accept object paths. In addition, /deep had a bug which kept it from recursing into sub-series.

In A95, expressions like this will work:

protect/words/deep [
    system/catalog
    system/standard
    system/dialects
    system/intrinsic
]

Here the /words refinement means "treat the block as a set of words to protect" (not as a block series itself to protect.)

This will help move protect-system-object toward its final form.

1 Comments

REBOL 3.0
Updated 21-Apr-2017 - Edit - Copyright REBOL Technologies - REBOL.net