INCLAN: alias

From CYANA Wiki
Revision as of 12:54, 14 August 2009 by Guentert (talk | contribs) (→‎Examples)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Synopsis

alias [name statement]

Description

Defines a new alias name, i.e. an abbreviation, for the given statement. The statement may contain an asterisk “*” to indicate where the command line parameters are to be inserted. Without parameters, alias gives a list of all currently defined aliases.

Examples

alias ? "print \"\%{*}\  	#Simulate a pocket calculator
? 5*7
35