% @(#)createcomm.hlq 17.1.1.1 (ESO-IPG) 01/25/02 17:43:26 %++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ %.COPYRIGHT (c) 1990 European Southern Observatory %.IDENT createcomm.hlq %.AUTHOR KB, IPG/ESO %.KEYWORDS MIDAS, help files, CREATE/COMMAND %.PURPOSE On-line help file for the command: CREATE/COMMAND %.VERSION 1.0 12-OCT-1983 : Creation, KB %.VERSION 1.1 24-JUN-1991 : Update,, KB %---------------------------------------------------------------- \se SECTION./COMM \es\co CREATE/COMMAND 12-OCT-1983 KB \oc\su CREATE/COMMAND comnd text create a "user" command \us\pu Purpose: Create a "user" command in MIDAS. \up\sy Syntax: CREATE/COMMAND comnd text \ys\pa comnd = new command with optional qualifier \ap\pa text = command line (max. 29 characters) which will be executed when entering "comnd" . \\ Any input following that command will be appended with a preceding blank to the command line given in "text". \ap\no Note: As a security measure, you normally cannot create commands which have the same command and qualifier as any existing MIDAS command. \\ But, if you really want to do it, set your user level to EXPERT with the command SET/MIDAS_SYS - then you can also overwrite the definitions of existing MIDAS commands (be careful...). \\ Your private login.prg file is a good place to store often used MIDAS command abbreviations and definitions. \\ All command definitions are cleared after the command BYE. \on\sa See also: CREATE/D_COMMAND, SET/MIDAS_SYS \as\exs Examples: \ex CREATE/COMMAND RK READ/KEY Create an abbreviation for the command READ/KEY. \xe\ex CREATE/COMMAND XYZ/IMAGE @@ myproc Create new command XYZ/IMAGE. \\ Entering: xyz/ima inframe outframe \\ will then work like: @@ myproc inframe outframe \xe \sxe