[Gambas-user] too many operands

MSulchan Darmawan bleketux at ...626...
Tue Sep 8 03:35:23 CEST 2009


Pada Mon, 07 Sep 2009 13:19:32 +0200
Doriano Blengino <doriano.blengino at ...1909...> menulis:

>        res = db.Create("refpos")      ' append record in table named
> refpos for i = 1 to 31
>          res["Res" & i] = ...
>        next

Does this means the field name is Res1, Res2, ..., Res31 ???
If so, wow this is great, I didn't know that variable names can be
iterated.

Thank you Doriano. I'll try this method.

-- 
Cheers,
[-Sulchan-]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20090908/7bd3ab27/attachment.sig>


More information about the User mailing list