On 01/04/14 18:53, Devin Asay wrote:
Hi folks,

Thanks to the engine refactoring project made possible by last year's 
Kickstarter campaign the good folks at RunRev have finally been able to 
implement a feature that I have wanted for years. You know how you're always 
yelling at your computer to do what you mean, not what you actually coded? 
Well, that's a thing of the past with the new guessProgrammerIntent stack 
property. Try this in the stack script:

on openStack
    set the guessProgrammerIntent of me to true
end openStack

Suddenly everything I really want my stack to do "just works!"

So I can do things like this:

    sort field "mydata" in a way that makes sense

And Boom! the text in the field looks exactly like I want it to look, whatever 
that is.

It even works with Strict Compilation Mode turn on! I think what happens is 
that if you forget to declare a variable, LiveCode just assumes you meant to 
and carries on as if you had declared it.

I have tried this with both the LTR and the new RTL versions of LiveCode. I 
have yet tested it in Ambidextrous mode because I can't afford it right now.

Until Livecode release a version for people who program with their feet all I'm going to say is "See you in court" . . .

That's the European Court of Human Lefts of course (right across the canal, in Den Haag, from the European Court of Human Rights).

Richmond.


Looking forward to hearing of other developers' successes with the new 
guessProgrammerIntent property.

Cheers,

Devin


Devin Asay
Office of Digital Humanities
Brigham Young University

_______________________________________________
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


_______________________________________________
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

Reply via email to