Livecode's "almost english" syntax trips me up ..
pete at mollysrevenge.com
Wed Dec 15 13:00:58 EST 2010
Clearly what's needed is the ability to reference the post-penultimate
On Dec 15, 2010, at 9:51 AM, Bob Sneidar wrote:
> In an odd sort of logic, if there is only one last line, then the
> second last line is actually the last line. So it works for me.
> On Dec 15, 2010, at 7:01 AM, Alex Tweedly wrote:
>> I'm not sure whether this is a bug, or merely amusing :-)
>> I've just spent a while (I won't admit to how many hours it was)
>> debugging a simple error
>> I wrote
>>> put the second last line of tVariable into tAnotherVariable
>> the second last line ... seemed very intuitive to me.
>> Unfortunately, LC interprets it as "the last line".
>> There's nothing in the docs to say it should be allowed - it was
>> just me doing what seemed obvious.
>> I think it should produce an error message - if anyone agrees I'll
>> submit it.
>> Oh - OSX, 4.5.0 just in case it matters.
>> -- Alex.
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the Use-livecode