< Rebol Programming
USAGE:
HAS locals body
DESCRIPTION:
A shortcut to define a function that has local variables but no arguments.
HAS is a function value.
ARGUMENTS
- locals -- (Type: block)
- body -- (Type: block)
SOURCE CODE
has: func [ {A shortcut to define a function that has local variables but no arguments.} locals [block!] body [block!] ][function [] locals body]
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.