Shouldn't this simple program generate a run-time error? When I run it, the value of 4 is displayed on the screen.
RUN pTest ( 2 + 2 ).
PROCEDURE pTest:
DEF INPUT PARAM cData AS CHAR NO-UNDO.
DISPLAY cData.
END.
Shouldn't this simple program generate a run-time error? When I run it, the value of 4 is displayed on the screen.
RUN pTest ( 2 + 2 ).
PROCEDURE pTest:
DEF INPUT PARAM cData AS CHAR NO-UNDO.
DISPLAY cData.
END.