MPE CI Programming for 7.0

July 22, 2008
Page 53
hp e3000
strategy
:setvar a !!b # B is not referenced, 2!s fold to 1
:setvar b 123
:showvar a, b A=!b B=123
:echo b is !b, a is !a b is 123, a is 123
:setvar a123 xyz
:echo Compound var "a!!b": !"a!b” Compound var "a!b": xyz
:setvar J 2
:setvar VAL2 bar
:setvar VAL3 foo
:calc VAL!J bar
:calc VAL![J] bar
:calc VAL![decimal(J)] bar
:calc VAL![setvar(J,J+1)] foo
compound variables