Rebol Programming/return

From Wikibooks, open books for an open world
Jump to navigation Jump to search

USAGE:

[edit | edit source]
RETURN value 

DESCRIPTION:

[edit | edit source]

Returns a value from a function.

RETURN is a native value.

ARGUMENTS

[edit | edit source]
  • value -- (Type: any-type)

SOURCE CODE

[edit | edit source]
return: native[
    "Returns a value from a function." 
    value [any-type!]
]