411 REFERENCE · Wikibooks
Rebol Programming/load
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
USAGE:
LOAD source /header /next /library /markup /all
DESCRIPTION:
Loads a file, URL, or string. Binds words to global context.
LOAD is a native value.
ARGUMENTS:
source -- (Type: file url string any-block binary)
REFINEMENTS:
/header -- Includes REBOL header object if present.
/next -- Load the next value only. Return block with value and new position.
/library -- Force file to be a dynamic library. (Command version)
/markup -- Convert HTML and XML to a block of tags and strings.
/all -- Load all values. Does not evaluate REBOL header.
SOURCE CODE
load: native[
{Loads a file, URL, or string. Binds words to global context.}
source [file! url! string! any-block! binary!]
/header "Includes REBOL header object if present."
/next {Load the next value only. Return block with value and new position.}
/library {Force file to be a dynamic library. (Command version)}
/markup {Convert HTML and XML to a block of tags and strings.}
/all "Load all values. Does not evaluate REBOL header."
]