%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
%.COPYRIGHT  (c)  1990 European Southern Observatory
%.IDENT      definewind.hlq
%.AUTHOR     JDP, IPG/ESO
%.KEYWORDS   MIDAS, help files, DEFINE/WINDOW
%.PURPOSE    On-line help file for the command: DEFINE/WINDOW
%.VERSION    1.0  18-DEC-1986 : Creation, JDP
%----------------------------------------------------------------
\se
SECTION./WIND
\es\co
DEFINE/WINDOW					 6-MAY-1994  PB
\oc\su
DEFINE/WINDOW [mode] [sequence] [obj] [sky] [mos] [window]
	updates object and sky regions
\us\pu
Purpose:   
	  The window table is updatd with user defined 
          objects and  sky regions. 
\up\sy

          DEFINE/WINDOW [mode] [sequence] [obj] [sky] [mos] [window]
Syntax:		
\ys\pa
          mode    =  Mode of action. Possible choices are: \\
              INIT   : Creates a window table and display it. \\
              ADD    : Updates object and sky limits in the table\\
              DELETE : Deletes an element of the table \\
              READ   : Read the window table (READ/TABLE command)\\
              LOAD   : Load object and sky limits on the display \\
              Default: READ
\ap\pa
          sequence = Sequence number of the entry, as indicated in the 
              Sequence column of the window table. This 
              parameter is required in modes ADD or DELETE. 
\ap\pa    obj = Lower and upper object limits of the object, in 
              pixels and separated by a coma. 
\ap\pa    sky = Lower and upper object limits of the sky, in 
              pixels and separated by a coma. By default the
              complete slitlet (but the object) is taken 
              into account for the sky determination.
\ap\pa    mos = Name of the slit definition table.
              Session keyword: MOS
              Default: mos
\ap\pa    window = Name of the windows definition table.
              Session keyword: WINDOWS
              Default: window
\ap\no
Note:       
               None
\on\exs
Examples:
\ex
               define/window init
\xe \ex
               define/window add 1 156,162
\xe \ex
               define/window add 9 367,372  373,387
\xe \ex
               define/window load
\xe \sxe
