HP3000-L Archives

March 2002, Week 2

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:
Larry Barnes <[log in to unmask]>
Reply To:
Larry Barnes <[log in to unmask]>
Date:
Thu, 14 Mar 2002 10:44:17 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (40 lines)
Thanks to Ron & Carol, they 'enlightened' my understanding about the 'while'
command.

I'm living on the edge here, I'm going to use the repeat...fornum command.

Getting out of my comfort zone and try something different.

Thanks again,

Larry <climbing out of his rut> Barnes  :)

-----Original Message-----
From: carol darnell [mailto:[log in to unmask]]
Sent: Thursday, March 14, 2002 10:30 AM
To: [log in to unmask]
Subject: Re: [HP3000-L] Calling all Vesoft Guru's


try:
setlvar cntr 0

while cntr<100 do
  *whatever*
  setlvar cntr cntr+1
endwhile

or, if you're using expression programming, include the same in your
while/begin/end construct.

i think (don't quote me, ok?) that the logical expression evaluated as the
*while* is looking for a variable to test directly, rather than another
calculation construct.  The parsing logic evidently doesn't allow for
another verb... but it's easily remedied, anyway

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2