Dumb Question About Variables

J. Landman Gay jacque at hyperactivesw.com
Fri Mar 22 14:35:01 EST 2002


Gregory Lypny 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.

It needs quotation marks, since H is a literal:

   put stuff into ("H" & i)

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the metacard mailing list