Amazing new feature in LiveCode 6.7DP-1.4.14
fraser.gordon at runrev.com
Tue Apr 1 12:09:16 EDT 2014
On 1 Apr 2014, at 16:53, Devin Asay <devin_asay at byu.edu> wrote:
> 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!"
The thanks should really go to the designers of the CPUs that run LiveCode - this property is implemented using the "DWIM" opcode that all major processor vendors have adopted. The entire LiveCode engine is has been reduced to:
Quite understandably, this has made adding new features to the engine trivial as all we need to do is imagine it sufficiently well.
If you are interested in using this opcode in your own software development, please see the latest Intel, AMD or ARM reference manuals under the section "DWIM - Do What I Mean"
More information about the Use-livecode