CALC -- Interactive Calculator Program This program acts as a sophisticated calculator. It can perform integer and 32-bit floating point arithmetic using a standard FORTRAN assignment statement syntax. Scalar variables may be assigned values in one statement and then used on the right-hand side of another statement. An internal symbol table contains the current values and types of each scalar variable. Commands are available to save and load the internal symbol table into/from a file, to list the contents of the symbol table, and to delete symbols from the symbol table. If a symbol table file named CALCINI.DAT exists in the default directory or if the logical name, CALCINI, points to a valid symbol table file, then that file is automatically loaded when CALC is initiated. See the file "CALCHELP.HLP" for more information on how to use CALC. This submission (Fall 86) fixes a bug in the SYMTAB module that caused CALC to crash on 750s. The error was hidden by the 780 implementation of the REMQUE instruction. The fixed version should work on any VAX. To build the calculator program, just type: @bldcalc p1 where p1 should be "/debug" if debug is desired and null otherwise The calculator help command (/HELP) assumes that the logical name "CALC$HELP" has been assigned to the file CLIB.HLB. For example: $ASSIGN disk:[dir]CLIB CALC$HELP To access the online HELP facility within CALC, run CALC and then, at the "CALC>" prompt, type "/HELP". Any user may define a personal default symbol table by defining the logical name "CALCINI" to a symbol table save file. See "/HELP LOAD PARAMETERS" for the format of this file. If a system-wide or group-wide default symbol table is desired, then for example: $ASSIGN/SYSTEM disk:[dir]file CALCINI or $ASSIGN/GROUP disk:[dir]file CALCINI Note that the default type for symbol table save files is ".DAT". Good luck and good calculating! Dennis K. Fitzgerald Computer Sciences Corporation 8728 Colesville Road Silver Spring, MD 20910 (301) 286 9584