%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
%.COPYRIGHT  (c)  1994 European Southern Observatory
%.IDENT      defineslit.hlq
%.AUTHOR     PB, DMD-ESO
%.KEYWORDS   MIDAS, help files, DEFINE/SLIT
%.PURPOSE    On-line help file for the command: DEFINE/SLIT
%.VERSION    1.0  11-NOV-1994 : Creation, PB
%----------------------------------------------------------------
\se
SECTION./SLIT
\es\co
DEFINE/SLIT					 6-NOV-1994  PB
\oc\su
DEFINE/SLIT mode [slit] [low,upp] [offset] [mos]
	Creates or updates mos slitlets table
\us\pu
Purpose:   
	        A slitlets position table can be created or updated
                after creation by LOCATE/MOS.
\up\sy

                DEFINE/SLIT mode [slit] [lower,upper] [offset] [mos]
Syntax:		
\ys\pa
                mode    =  Mode of action. Possible choices are: \\
                          INIT   : Creates a window table and display it. \\
                          ADD    : Updates slit limits in the table\\
                          DELETE : Deletes an element of the table \\
                          MODIFY : Modifies an element of the table \\
                          SORT   : Sorts table by incresing position number \\
                          READ   : Read the window table (READ/TABLE command)\\
                          LOAD   : Load slit limits on the display \\

\ap\pa
               slit     = Slit number (in modes MODIFY, DELETE) or number of
                          slits (in mode ADD) or slit positions (in mode LOAD).                          In modes MODIFY or DELETE, slit number entry, as 
                          indicated in the :slit column of the table 
                          (no default value). In mode ADD, optional number 
                          of slits for cursor input (default 1). In mode
                          LOAD, three possible values: LOWER, UPPER, ALL
                          to load lower, upper or all boundaries of the slits
                          (default ALL).

\ap\pa
               low,upp  = Lower,upper slit position, in pixels. In mode ADD,
                          this parameter can be set to CURSOR, in which
                          case the upper and lower positions will be given
                          by cursor input in the display window. The number
                          of slits entered is in this case controlled
                          by the previous parameter slit.

\ap\pa         
               offset   = Optional offset value (default is 0.)

\ap\pa         
               mos      = Name of the slit definition table. (default mos.tbl)

\ap\sa
See also:
               LOCATE/MOS, PLOT/LOCATE
\as\no
Note:       
               None
\on\exs
Examples:
\ex
               define/slit init 
\xe \ex
               define/slit add 2  cursor
\xe \ex
               define/slit add  ? 160,200
\xe \ex
               define/slit load low
\xe \ex
               define/slit delete 1
\xe \ex
               define/slit modify 1 180,200
\xe \ex
               define/slit read
\xe \sxe

