Rebol Programming/alias

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

USAGE:[edit | edit source]

ALIAS word name 

DESCRIPTION:[edit | edit source]

Creates an alternate spelling for a word.

ALIAS is a native value.

ARGUMENTS[edit | edit source]

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

SOURCE CODE[edit | edit source]

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