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
You are using 2 as the beginning integer.
So:
x = 2+1
echo = 3
step 2:
x=3+1
echo = 4
2 + 1 = 3
--
Larry Barnes
Director of I.T.
Mitek Corp.
602-438-4545 X 1366
Phoenix, AZ 85040
Check Us Out !
http://www.mitekcorp.comhttp://www.atlassound.comhttp://www.coustic.comhttp://www.mtxaudio.comhttp://www.xtant.comhttp://www.dcmspeakers.com