> If you do a SETVAR P1 "!!HPACCOUNT"
> Then SHOWVAR P1, you get !HPACCOUNT
> Then if you do a SETVAR P2,ANYPARM(!P1)
> I would expect to find !HPACCOUNT in the P2 variable. But
> instead I find the actual account name.
The ANYPARM function is not the culprit here. Any time you
explicitly dereference a variable (!varname) you will resolve
all embedded explicit varnames. So,
:setvar blue 'BLUE'
:setvar color '!!blue'
:showvar color
COLOR = !blue
:echo color = !color
color = BLUE
Jeff Vance, CSY