Lists as array elements

David Vaughan drvaughan55 at mac.com
Wed May 8 17:01:00 EDT 2002


Ken

Thanks for that. It was not the size as such that made me wonder, it was 
the fact of making a list an element of an array, or an array as the 
content of each element of an array. Anyway, I've just finished the 
prototype, it works (and fast!) and I'm very pleased to have a general 
solution to a problem of uncounted simultaneous input streams. Had I 
done this in HC I would have resorted to an XCMD to code a linked list 
with each node the head of another list. Using Rev is much faster to do, 
easier to maintain, and portable.

regards
David

On Thursday, May 9, 2002, at 12:28 , Ken Ray wrote:

> David,
>
> Not that I'm aware of. I've stuffed over a million characters into an 
> array,
> and Rev didn't blink, so I don't think you'll have any problems.
>
> Ken Ray
> Sons of Thunder Software
> Email: kray at sonsothunder.com
> Web Site: http://www.sonsothunder.com/
>
> ----- Original Message -----
> From: "David Vaughan" <drvaughan55 at mac.com>
> To: <use-revolution at lists.runrev.com>
> Sent: Wednesday, May 08, 2002 1:54 AM
> Subject: Lists as array elements
>
>
>> From a test on a three-line list I gather that there is no problem
>> making a list an element in an array. For example, I did this in the
>> message box:
>>
>>    put "Matilda" & return & "or" & return & "Maud" & return into aList
>>    put aList into someArray[1]
>>    put someArray[1]
>>
>> which ran to produce the output:
>>
>>    Matilda
>>    or
>>    Maud
>>
>> So far, so good. The idea is to be able to build multiple lists where I
>> do not know beforehand how many lists there will be or what will be
>> their identity. As each list completes I will write it to a separate
>> file.
>>
>> Before I base my program on stuffing multiple 2000-line lists into an
>> array as single elements, does anyone have experience or theoretical
>> knowledge that this will collapse?
>>
>> thanks
>> David
>>
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>
> _______________________________________________
> 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