> On Jun 6, 2016, at 11:06 AM, Mark Waddingham <m...@livecode.com> wrote: > > variable sIndex > > command whatShouldThisDo? sInput > add char sIndex of line addOneToIndex() of sInput to tSum > end command > > function addOneToIndex > add 1 to sIndex > return sIndex > end function
My eyes see sIndex and addOneToIndex() as two different expressions and thus see the potential for an order-of-evaluation problem. My eyes don't see that in using add on a chunk determined by a function. So, the latter is much more of a concern for me. _______________________________________________ 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