DAY - Days #

This operator takes the day portion of Operand 2 and stores the result in Operand 1.

Statement
Store the Day portion of the Period End Date into Variable Day of Month.

LineCMDOTOperand 1OPEROTOperand2OTOperand3If Goto Else GoTo
00010 LET V DAY OF MONTH DAY $S PERIOD-END-DATE 99999
99999 EXIT 99999

The DAY command will return the value as a CHAR. To use this as a comparison against a number you will need to convert this to a number value with the NUM operator into a different variable that has the type of number.


Notes #

Click to create a new notes page