In this section: |
An expression can be one of the following:
COMPUTE BONUS/D12.2 = CURR_SAL * 0.05 ;
A numeric expression returns a numeric value. For details, see Creating a Numeric Expression.
COMPUTE DELIVERY/MDY = SHIPDATE + 5 ;
There are two types of date expressions:
COMPUTE FIRST_INIT/A1 = EDIT (FIRST_NAME, '9$$$$$$$$$') ;
A character expression returns an alphanumeric value. For details, see Creating a Character Expression.
Note: Text fields can be assigned to alphanumeric fields and receive assignment from alphanumeric fields. Text fields can also participate in expressions using the operators CONTAINS and OMITS.
WebFOCUS |