----- file created by xop_makedoc on: Tue Oct 26 11:09:35 2004
----- Documentation for /scisoft/XRayOptics/xop2.1/src_idl/Embedded/idlexa/scicalc.pro -----

 NAME:
   Scicalc

 PURPOSE:
   This routine emulates a scientific calculator.

 CATEGORY:
   Widgets, math.

 CALLING SEQUENCE:
   Scicalc

 INPUTS:
   None.

 KEYWORD PARAMETERS:
   GROUP:   The widget ID of the widget that calls Scicalc.  When this
      ID is specified, a death of the caller results in a death of
      Scicalc.

   FONT:   A string containing the name of the X-Windows font to be
      used for the calculator buttons and display.  If no font is
      specified, the first available 20-point font is used.
      On many systems, you can see the names of available fonts
      by entering the command "xlsfonts" from the Unix command line.

 OUTPUTS:
   None.

 OPTIONAL OUTPUT PARAMETERS:
   None.

 COMMON BLOCKS:
   SCICALCBLOCK, WTRANSBLOCK

 SIDE EFFECTS:
   Initiates the XManager if it is not already running.

 RESTRICTIONS:
   Math error trapping varies depending upon system.

 PROCEDURE:
   Create and register the widget, allow computations, and then exit.

 MODIFICATION HISTORY:
   WIDGET CALCULATOR by Keith R Crosley, RSI, October 1991
   Created from a template written by: Steve Richards, January, 1991
       Modified by: WSO January, 1995

