Well it doesn’t necessarily mean you can’t implement the additional variable in repeat. It just means you would need to do so directly in the engine. Out of interest I just took a look ant it wouldn’t be that tricky to do and at the same time you could support a repeat index variable on all the repeat styles. Because of that I’d suggest calling it a counter rather than index as index could get confusing in repeat with.
repeat for each line tLine in tText with counter tCounter repeat for 10 with counter tCounter repeat with tIndex = 1 to 10 step 2 with counter tCounter repeat while condition with counter tCounter repeat forever with counter tCounter Not sure if I missed anything Cheers Monte > On 25 Oct 2015, at 7:56 am, Geoff Canyon <gcan...@gmail.com> wrote: > > That would be disappointing. > > On Sat, Oct 24, 2015 at 4:52 PM, Monte Goulding <mo...@sweattechnologies.com > <mailto:mo...@sweattechnologies.com> >> wrote: > >> >>> On 25 Oct 2015, at 7:07 am, Geoff Canyon <gcan...@gmail.com> wrote: >>> >>> repeat for each line L in someText with index i >> >> I can’t help wondering if open language will allow for new (or variations >> on existing) control structures. My impression is the intention is to allow >> for new command syntax only but I could be wrong. _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode