Rebol Programming/has

USAGE:

edit
HAS locals body 

DESCRIPTION:

edit

A shortcut to define a function that has local variables but no arguments.

HAS is a function value.

ARGUMENTS

edit
  • locals -- (Type: block)
  • body -- (Type: block)

SOURCE CODE

edit
has: func [
    {A shortcut to define a function that has local variables but no arguments.} 
    locals [block!] 
    body [block!]
][function [] locals body]