MPE/iX - CI Programming for Stability
July 18, 2008 HP World '01 71
• :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