Dave,
You can do it that way, but MC has a better way:
repeat with i = 1 to 10
put stuff into ("H" & i)
end repeat
Neat, huh?
Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web site: http://www.sonsothunder.com/
----- Original Message -----
From: "David Tremmel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 22, 2002 1:36 PM
Subject: Re: Dumb Question About Variables
> 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" <[EMAIL PROTECTED]> 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
> > [EMAIL PROTECTED]
> > 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: [EMAIL PROTECTED]
>
> _______________________________________________
> metacard mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/metacard
>
_______________________________________________
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard