Livecode's "almost english" syntax trips me up ..

Bob Sneidar bobs at twft.com
Wed Dec 15 12:51:31 EST 2010


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. 

Bob


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.
> 
> Thanks
> -- Alex.
> 
> 
> 
> 
> _______________________________________________
> 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





More information about the Use-livecode mailing list