REBOL Programming/alias

From Wikibooks, open books for an open world
< REBOL Programming
Jump to: navigation, search

USAGE:[edit]

ALIAS word name 

DESCRIPTION:[edit]

Creates an alternate spelling for a word.

ALIAS is a native value.

ARGUMENTS[edit]

  • word -- Word to alias (Type: word)
  • name -- Name of alias (Type: string)

SOURCE CODE[edit]

alias: native[
    "Creates an alternate spelling for a word." 
    word [word!] "Word to alias" 
    name [string!] "Name of alias"
]

{{BookCat}}