Executes one or more calculation strings.
Syntax
CALC "calcString; [calcString;]"
Parameter | Description |
---|---|
calcString | A calculation string (any valid string that is accepted by a calculation script). |
Notes
In a batch file, if you include multiple calculation strings in one CALC command, place all of the calculation string parameters in one set of quotation marks and end each command string with a semicolon statement terminator (;). All text within the quotation marks is passed to the calculator.
As an alternate to including multiple calculation strings in this command, place the strings in a calculation script, then call RUNCALC to run the script.
Example
To issue the CALC ALL command:
CALC "Calc All;";
To calculate the members January and Product:
CALC "Jan; Product;";
See Also