Sometimes the parm vars are not considered a var. You may have to do a
"SETVAR X1 !X", first. Then use X1 for your other commands.
Dave Knispel wrote:
> To the list,
>
> Why does this happen? Why doesn't the variable x increment to 4?
>
> MPEiX:PRINT TEST
> parm x
> setvar x !x + 1
> echo !x
> setvar x !x + 1
> echo !x
>
> MPEiX:test 2
> 2
> 2
>
> MPEiX:showvar x
> X = 3
>
> David Knispel
> [log in to unmask]
> Phone: 513-248-5029
> Fax: 513-248-2672
--
Ron Horner
HP3000 Systems Admin
JC Penney Co., Inc.
(414) 259-2274