MPE CI Programming for 7.5

July 22, 2008
Page 29
hp e3000
strategy
evaluated during the execution of the command -- later than explicit
referencing
makes for more readable scripts
variable type is preserved -- no need for quotes, like: “!varname
only 5 commands accept implicit referencing: CALC, ELSEIF, IF, SETVAR,
WHILE -- all others require explicit referencing
all CI function parameters accept implicit referencing
variables inside ![expression] may be implicitly referenced
performance differences:
“!HPUSER.!HPACCOUNT = OP.SYS 4340 msec
HPUSER + .” + HPACCOUNT = OP.SYS4370 msec
HPUSER = OP and HPACCOUNT = SYS 4455 msec*
(*with user match true)
I prefer the last choice since many times :IF will not need to evaluate the
expression after the AND
implicit referencing -
just varname