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.

ARGUMENTSEdit

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

SOURCE CODEEdit

has: func [
    {A shortcut to define a function that has local variables but no arguments.} 
    locals [block!] 
    body [block!]
][function [] locals body]
Last modified on 27 October 2012, at 22:07