31142 lines/cards/records

Ivers, Doug E Doug_Ivers at lord.com
Wed Nov 20 08:03:01 EST 2002


How do I define a constant array and insert values outside of all handlers at the top of a script?  Is it possible?

I tried this:

constant myArray_c[1] = "left"
constant myArray_c[2] = "mid"
constant myArray_c[3] = "right"



-- D


> -----Original Message-----
> From: Geoff Canyon [mailto:gcanyon at inspiredlogic.com]
> Sent: Tuesday, October 22, 2002 12:53 PM
> To: use-revolution at lists.runrev.com
> Subject: Re: 31142 lines/cards/records
> 
> 
> At 10:05 AM -0600 10/22/02, Dar Scott wrote:
> >On Tuesday, October 22, 2002, at 09:18 AM, Terry Vogelaar wrote:
> >
> >> I could make a comma delimited
> >> field with 31142 lines, a stack with 31142 cards or a 
> database with 31142
> >> records.
> >
> >Is there a particular reason why arrays are not on your 
> list?  Does this mean you have no field (combination) that is 
> unique?  Are there operations you need that arrays can't do well?
> >
> >I'm not really advocating arrays.  I'm too green to do that. 
>  It's just I wouldn't have thrown out arrays as candidates.
> 
> It's borderline, but I'd go with text/arrays. A stack with 
> 30,000 cards will be painfully slow to open. A database is 
> also an option, but as long as a restriction to new-ish 
> hardware isn't an issue, I'd probably stick with text/arrays.
> -- 
> 
> regards,
> 
> Geoff Canyon
> gcanyon at inspiredlogic.com
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 



More information about the Use-livecode mailing list