Rebol Programming/load
Appearance
USAGE:
[edit | edit source]LOAD source /header /next /library /markup /all
DESCRIPTION:
[edit | edit source]Loads a file, URL, or string. Binds words to global context.
LOAD is a native value.
ARGUMENTS:
[edit | edit source]- source -- (Type: file url string any-block binary)
REFINEMENTS:
[edit | edit source]- /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
[edit | edit source]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." ]