line number in a for each repeat

Thomas McGrath III 3mcgrath at adelphia.net
Thu Apr 21 16:36:35 EDT 2005


I'm afraid that gets me "three" and not the line number 3 which is what 
I needed.

I am now trying to use the lineoffset on the global using the short 
name of the target with the global list of images.

Thank you

On Apr 21, 2005, at 4:28 PM, Scott Rossi wrote:

> Recently, Thomas McGrath III  wrote:
>
>> repeat for each line x in theKeys
>>      if  x = theKey then -- after the third sweep it comes to x = 
>> three
>>
>>        -- this is where I need the actual line number that three is in
>> theKeys global which in this case is 3
>> put line x into theblend -- doesn't work
>> --put the line number of x of theKeys into theblend -- doesn't work
>
>  put x into theBlend
>
> Regards,
>
> Scott Rossi
> Creative Director
> Tactile Media, Multimedia & Design
> -----
> E: scott at tactilemedia.com
> W: http://www.tactilemedia.com
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>

Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541



More information about the use-livecode mailing list