Condividi tramite


_CALCVALUE System Variable

Contains the numeric value that the Calculator displays.

_CALCVALUE = nCalculatorDisplayValue

Parameters

  • nCalculatorDisplayValue
    Specifies the numeric value that the Calculator displays.

Remarks

You can return the result of a calculation to a program or you can place a specific value in the Calculator's display before using the Calculator.

To initialize the Calculator's display, store a numeric value to _CALCVALUE with STORE or the = assignment operator. When you use the Calculator, it displays the value you specified.

Example

In the following example, the numeric value 1234 is stored to _CALCVALUE. The Calculator then displays the value 1234.

STORE 1234 TO _CALCVALUE
ACTIVATE WINDOW calculator

See Also

ACTIVATE WINDOW | _CALCMEM | STORE | CALCULATE Command | Display Calculated Values in a Column