HP3000-L Archives

August 2000, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Ronald R Horner <[log in to unmask]>
Reply To:
Ronald R Horner <[log in to unmask]>
Date:
Tue, 1 Aug 2000 15:45:33 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (35 lines)
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

ATOM RSS1 RSS2