I translated a calculator (with considerably more functionality than the one in the Resource Center) that I wrote recently in Director Lingo. It works beautifully but the number input is slow. There is a noticeable lag between the button press and when the number appears in the field. I'm wondering if there's a problem with the way I have structured things.
At the moment, I have 20 custom handlers with 8 global variables in the main stack script. And I call them from the button's mouseUp script. The handler that processes the numbers goes like this:
Code: Select all
on handleNumber thisOne
put thisOne into field "display"
end handleNumber
Code: Select all
on mouseUp
handleNumber 7
end mouseUp
One more question: after purchasing LiveCode, can I install it and author on both Mac and Windows, or would I have to buy it 2x?