%  @(#)translproc.hlq	19.2 (ESO-DMD) 03/10/03 16:40:48 
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
%.COPYRIGHT  (c)  1990 European Southern Observatory
%.IDENT      translproc.hlq
%.AUTHOR     KB, IPG/ESO
%.KEYWORDS   MIDAS, help files, TRANSLATE/PROC
%.PURPOSE    On-line help file for the command: TRANSLATE/PROC
%.VERSION    1.0  19-SEP-1990 : Creation, KB
%----------------------------------------------------------------
\se
SECTION./
\es\co
TRANSLATE/PROC          				26-FEB-2003  KB
\oc\su
TRANSLATE/PROCEDURE proc 
	translate MIDAS procedure and save optimized code
\us\pu
Purpose:      
          Translate Midas procedure and save optimized code.
\up\sy
Syntax:       
          TRANSLATE/PROCEDURE proc 
\ys\pa
          proc = name of MIDAS command procedure, file type must be `.prg'
\ap\sa
See also:
          TRANSLATE/SHOW, DEBUG/PROCEDURE
\as\no
Note:         
            The optimized code is stored in an ASCII file named
	  proc.prg_o and can be executed like a normal procedure.
          This file should not be edited, also the file extension `.prg_o'
	  must not be changed.
	    OJO: The ENTRY sections of a procedure are interpreted like
	  and end-of-file and omitted from the translation process.
	  Thus, procedures with ENTRY in it, should NOT be translated.
\on\exs
Examples:
\ex
          TRANSLA/PROC lobo.prg 
            Translate procedure `lobo.prg' (in current directory) and 
	    store optimized code in `lobo.prg_o'.
	    Then use "@@ lobo.prg_o" instead of "@@ lobo".
\xe \ex
          TRANSLA/PROC MID_WORK:perro.prg
            Translate procedure `perro.prg' in the $MID_WORK directory
	    and store the optimized procedure `perro.prg_o' there as well.
\xe \sxe
