Last modified on 27 October 2012, at 22:13

REBOL Programming/do

USAGE:Edit

DO value /args arg /next 

DESCRIPTION:Edit

Evaluates a block, file, URL, function, word, or any other value.

DO is a native value.

ARGUMENTSEdit

  • value -- Normally a file name, URL, or block (Type: any)

REFINEMENTSEdit

  • /args -- If value is a script, this will set its system/script/args
    • arg -- Args passed to a script. Normally a string. (Type: any)
  • /next -- Do next expression only. Return block with result and new position.

SOURCE CODEEdit

do: native[
    {Evaluates a block, file, URL, function, word, or any other value.} 
    value "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 block with result and new position.}
]

{{BookCat}}