forked from rebol/rebol
-
Notifications
You must be signed in to change notification settings - Fork 2
angerangel edited this page Mar 15, 2013
·
1 revision
DO value /args arg /next var
Evaluates a block, file, URL, function, word, or any other value.
DO is a native value.
- value -- Normally a file name, URL, or block (any-type!)
-
/args -- If value is a script, this will set its system/script/args
- arg -- Args passed to a script (normally a string)
-
/next -- Do next expression only, return it, update block variable
- var -- Variable updated with new block position (word!)
#SOURCE
do: make native! [ [
{Evaluates a block, file, URL, function, word, or any other value.}
value [any-type!] "Normally a file name, URL, or block"
/args {If value is a script, this will set its system/script/args}
arg "Args passed to a script (normally a string)"
/next {Do next expression only, return it, update block variable}
var [word!] "Variable updated with new block position"
] ]