MPE/iX - CI Programming for Stability

July 18, 2008 HP World '01 25
an expression is any variable, constant or function with or without an
operator, e.g.:
MYVAR, “a”+”b”, x^10*y/(j mod 6),
false, (x > lim) or (input() =“y”)
5 commands accept implicit expressions:
:calc, :if, :elseif, :setvar, :while
![ expression ] can be used explicitly in any command:
:build afile; rec=-80; disc= ![100+varX]
:build bfile; disc= ![ finfo(afile”,”eof”)*3] # file b is 3x larger
examples:
:print ![input(“File name? “)]
:setvar reply ups(rtrim(ltrim(reply)))
CI expressions