MPE CI Programming for 7.5
July 22, 2008
Page 21
hp e3000
strategy
entry points (cont)
• generic approach:
PARM p1 … entry=main # default entry is “main”
if “!entry” = “main” then
… initialize etc…
xeq !HPFILE !p1, … entry=go # run same script, different entry
… cleanup etc…
return
elseif “!entry” = “go” then...
# execute the GO subroutine ...
return
elseif “!entry” = …
...
endif