HP3000-L Archives

October 2003, Week 4

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:
Mark Wonsil <[log in to unmask]>
Reply To:
Date:
Mon, 27 Oct 2003 16:39:08 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (25 lines)
Larry Barnes wrote:
>
>    setvar cntr 1
>    while setvar(cntr,cntr+1) <=10
>     setvar var!cntr "!today+!cntr)
>   endwhile
>
>
>   It would be set using the DO While ....Loop command.
>
> Any idea's would be appreciated.

Well, the var!cntr construct is the command file way to implement an array.
In VB, you could just use arrays:

   Dim var(20) as integer

   do
     var(i) = ...
     ...
   loop

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

ATOM RSS1 RSS2