Dumb Question About Variables

David Tremmel david.tremmel at duke.edu
Fri Mar 22 14:38:09 EST 2002


I think you'd have to use the do statement:

repeat with i = 1 to 10
  get "put " & stuff & " into H" & i
  do it
end repeat


Regards,
Dave Tremmel


On 3/22/02 2:28 PM, "Gregory Lypny" <gregory.lypny at videotron.ca> wrote:

> Hi again everyone,
> 
> I can't seem to create a series of variables whose names are
> identical except for a numerical prefix, such as H1, H2, H3, ... (and
> this is not an associate array).
> 
> I tried
> 
> repeat with i=1 to 10
> Put stuff into (H & i)
> end repeat
> 
> but MetaCard doesn't like that.
> 
> Greg
> 
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard
> 
> 

-- 
David Tremmel
Assistant Director, National Phytotron

Duke University
Phytotron Bldg.                     Phone:  (919) 660-7415
Box 90340                           FAX:    (919) 660-7425
Durham, NC  27708-0340              E-mail: david.tremmel at duke.edu




More information about the metacard mailing list