Array question

Glen Bojsza gbojsza at mac.com
Mon Mar 22 17:31:40 CST 2004


I've looked at the intersect command and it seems that I need to have 
another array to check for any intersection.

I'll need to create a function (Mark actually whipped up the 
foundations of a good one).

thanks,

Glen


On Monday, March 22, 2004, at 04:57 PM, Dar Scott wrote:

>
> On Monday, March 22, 2004, at 03:04 PM, Glen Bojsza wrote:
>
>> I want to create an array based on the first array but on a linear 
>> range that is user defined.
>>
>> Example, the user wants the array from 3 through 7.
>>
>> This can be done using repeat loops but can it be done using a single 
>> line command?
>
> Consider the 'intersect' command.
>
> If the user actually uses something like MatLab notation, then you can 
> use the : notation and translate that to what ever you have.  If the 
> user uses your library, then create a function.
>
> Dar Scott
>
> _______________________________________________
> 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