REBOL Enhancement Proposal: REP005
Versio: 1.0.0
Author: Jeff Kreis
1. Overview
A new refinement /ALL is provided which will load REBOL data without attempting to evaluate the header. LOAD/next causes all words and values in a file, including those that comprise a REBOL header, to be scanned and returned as a block.Copyright REBOL Technologies. All Rights Reserved.
1.1. Breakdown of refinement precedence
Evaluate Returns Header? (pseudo example) : ----------------------------------------------------------------------------- load/next no [first-val { rest of script }] load/next/header yes make object! [Just the header] load/header yes [make object! [header] rest of script] load/all no [all of script as data] load/next/all no [first-val { rest of script }] load/header/all yes [make object! [header] rest of script] load/next/header/all yes make object! [Just the header]1.2. General refinement precedence
The ALL refinement will be ignored when other refinements are present. Previous table shows the current behavior of the various refinement combinations with LOAD.
1.3. That's all.
That's all.