This example demonstrates the usage of the GRIPSW/DECLRV statement in a program.
NUMBER/A,B
STRING/STR(2,30),NAME(6)
GRIPSW/DECLRV
.
.
.
A = 10
NUM = A + B
PRINT/NUM
.
.
.
HALT
After Compilation:
NUMBER/A,B
STRING/STR(2,30),NAME(6)
GRIPSW/DECLRV
.
.
.
A = 10
NUM = A + B
*
**ERROR NO. 62
PRINT/NUM
*
**ERROR NO. 62
.
.
.
HALT