I would like to use variable value for settin color on display, I usually do as follow:
D $color S 1A INZ
C eval $color = X'28'
and obtain color red !
Now my user would like to change it and type 38 into the numeric variable $V1.
$v1 = 38 .
It seems to me that new command could be:
Eval $color = X+''''+$v1+''''
Compiler doesn't issue error, but unfortunatly, in debug mode $color contains 'X'
insted of x'38'.
Can Someone help me, for RPGLE or CL please ?
January 11, 2013 6:37 PM
January 11, 2013 6:48 PM