Array question

Dar Scott dsc at swcp.com
Mon Mar 22 17:57:05 EST 2004


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



More information about the use-livecode mailing list