common code patterns
Mike Kerner
MikeKerner at roadrunner.com
Fri Aug 11 17:59:17 EDT 2017
That is not easier to read.
On Fri, Aug 11, 2017 at 5:46 PM, Monte Goulding via use-livecode <
use-livecode at lists.runrev.com> wrote:
>
> > On 12 Aug 2017, at 1:37 am, Mark Waddingham via use-livecode <
> use-livecode at lists.runrev.com> wrote:
> >
> > So, let me rephrase - what are the use-cases people can see for allowing
> (some variant of):
> >
> > repeat ... with counter tCounter starting from tStart
>
> Hmm…. what about:
>
> repeat for each line tLine in line 5 to -1 of tLines with counter tCounter
> starting from 5
>
> BTW if we ever do this could the following be ordered if the array is a
> 1..N sequence… I’m not really sure if repeat for each element is ordered in
> any way currently.
>
> repeat for each element tElement in tArray with counter tCounter
>
> I guess we could have more explicit syntax here which might be more
> flexible too
>
> repeat for each element tElement and key tKey in tArray ordered numeric
> ascending
>
> Cheers
>
> Monte
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
--
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
and did a little diving.
And God said, "This is good."
More information about the use-livecode
mailing list