< Rebol Programming
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."
]
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.