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:
Tim Joseph <[log in to unmask]>
Reply To:
Tim Joseph <[log in to unmask]>
Date:
Tue, 1 Aug 2000 13:51:04 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (59 lines)
>:>y 100
>101
>102
>: y 1
>2
>3
>:>print y
>parm INvalue
>   setvar x !INvalue + 1
>   echo !x
>   setvar x !x + 1
>   echo !x
>(elm):XTAPE.XTAPE:>

Dave,

It seems like you should name your input parm different that your
incremented variable.

tj




At 01:35 PM 8/1/00, 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




    Tim Joseph, Technical Support
    425-485-8536 (phone)
    206-650-3101 (mobil)
    [log in to unmask] (email)
    425-485-7801 (fax)
    http://www.bradmark.com/

ATOM RSS1 RSS2