Re: 500 ms to set a thumbpos??

2014-04-13 Thread Dr. Hawkins
On Sun, Apr 13, 2014 at 11:15 PM, J. Landman Gay wrote: > I see, so he's only calling ck once at the end. I had thought it was part > of a longer sequence where it was interspersed throughout. > Just the once, and it just appends after a scrolling field in another window and puts to the message

Re: Debugging modal stacks

2014-04-13 Thread Phil Davis
It used to be that when you set the vis of a modal window to false, it would operate as a non-modal. You could try that, though I don't know if it still works that way. I suspect it was a bug and it may have been fixed long ago. Phil On 4/13/14, 12:24 PM, Peter Haworth wrote: Any tips on ho

Re: 500 ms to set a thumbpos??

2014-04-13 Thread J. Landman Gay
I see, so he's only calling ck once at the end. I had thought it was part of a longer sequence where it was interspersed throughout. In that case you're quite right and the logging handler doesn't matter. But that leaves the question of what those 38s are doing in there with 0 milliseconds be

Re: Integer part of divide

2014-04-13 Thread dunbarx
Trunc. And I ain't talking about things in my pajamas. Craig -Original Message- From: Peter Haworth To: How to use LiveCode Sent: Sun, Apr 13, 2014 9:35 pm Subject: Integer part of divide I just know this has to be simple but I need to divide one number by another and get just th

[OT] free personality portraits

2014-04-13 Thread Robert Brenstein
This has nothing to do with LC but as varied as this group is in their tempers and attitudes, as we know well from lively discussions, I thought that some of you may find it interesting to get free personality portraits. If you are not interested, just press the delete key now. I work with th

Re: Integer part of divide

2014-04-13 Thread Kay C Lan
Checkout div in the dictionary put 20 div 7 into msg On Mon, Apr 14, 2014 at 9:34 AM, Peter Haworth wrote: > I just know this has to be simple but I need to divide one number by > another and get just the integer part of the result. So 20 / 7 would be 2 > for example. I tried setting the numb

Re: Do statement as "Applescript" in caller ?

2014-04-13 Thread Kay C Lan
On Mon, Apr 14, 2014 at 12:02 AM, Serge Brami wrote: > > I ask because statements as : do anything as Applescript doesnt work on > Livecode 6.6 and Maverick > Any Idea ? > Don't know anything about 'caller', but I notice for the Release Notes for LC 6.1.2 RC3 it states that one of the bug fix

Integer part of divide

2014-04-13 Thread Peter Haworth
I just know this has to be simple but I need to divide one number by another and get just the integer part of the result. So 20 / 7 would be 2 for example. I tried setting the number format to "#" but I still get decimals in the result (that's not right is it?). For now I'm setting the itemdelimi

Re: Debugging modal stacks

2014-04-13 Thread Geoff Canyon
Debug it as a non-modal. On Sun, Apr 13, 2014 at 2:24 PM, Peter Haworth wrote: > Any tips on how to debug a button script in a modal dialog? > > It seems that red dot breakpoints and breakpoint commands don't work in > modal dialogs, at least not in the stack I'm testing right now. I can tell >

Re: Do statement as "Applescript" in caller ?

2014-04-13 Thread Mark Schonewille
Hi Serge, First of all, I don't think that the in caller clause makes much of a different if you execute AppleScript syntax. It is probably meant to alter the executionContext when you execute LiveCode syntax. You can see examples of the grammar used to write this clause, if you execute the f

Re: go to not working as expected on Android

2014-04-13 Thread Michael Doub
Ah yes it was a nuance. The message path got me. Each time one of the substacks was opened, the unhanded stack messages found their way back to the main stack. We were initializing like crazy. :-) -= Mike On Apr 13, 2014, at 5:33 PM, Michael Doub wrote: > I am observing some strangene

Re: Debugging modal stacks

2014-04-13 Thread Peter Haworth
Yes, That's what I started doing but then Mark reminded me of PowerDebug. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sun, Apr 13, 2014 at 1:22 PM, J. Landman Gay wrote: >

Re: Debugging modal stacks

2014-04-13 Thread Peter Haworth
Thanks Mark, I had forgotten (!!!) about PowerDebug. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sun, Apr 13, 2014 at 1:18 PM, Mark Wieder wrote: > Pete- > > Sunday, Apri

Re: 500 ms to set a thumbpos??

2014-04-13 Thread Alex Tweedly
On 13/04/2014 23:02, J. Landman Gay wrote: Except we don't know how intensive the ck handler is. Do we need to ? stp[4] and stp[5] are set before 'ck' is called. So (assuming the numbers that are eventually output are the ones being passed) we don't care what else is being done in ck, other t

Re: 500 ms to set a thumbpos??

2014-04-13 Thread J. Landman Gay
Except we don't know how intensive the ck handler is. On 4/13/14, 4:28 PM, Alex Tweedly wrote: It's good to get the computer to do any hard work for us, but we can still do some mental arithmetic 1026 - 542 gives just under 500ms, and should be accurate. In fact, you could (if you were i

go to not working as expected on Android

2014-04-13 Thread Michael Doub
I am observing some strangeness that maybe someone has an explanation for. I have main stack with several substacks in it. I am using a MobGUI carousel to select the correct substack to go to. That part works just fine but I can get the substacks to close. I am working on Android and have a

Re: 500 ms to set a thumbpos??

2014-04-13 Thread Alex Tweedly
It's good to get the computer to do any hard work for us, but we can still do some mental arithmetic 1026 - 542 gives just under 500ms, and should be accurate. In fact, you could (if you were in the mood) argue that this method is more accurate, since it doesn't carry an overhead for res

Re: Debugging modal stacks

2014-04-13 Thread J. Landman Gay
On 4/13/14, 2:24 PM, Peter Haworth wrote: Any tips on how to debug a button script in a modal dialog? It seems that red dot breakpoints and breakpoint commands don't work in modal dialogs, at least not in the stack I'm testing right now. I can tell that the script is executing, just not producin

Re: Debugging modal stacks

2014-04-13 Thread Mark Wieder
Pete- Sunday, April 13, 2014, 12:24:35 PM, you wrote: > Any tips on how to debug a button script in a modal dialog? Yeah, that's always been broken. PowerDebug http://powerdebug.ahsoftware.net http://www.ahsoftware.net/PowerTools/BuyPowerDebug.irev -- -Mark Wieder ahsoftw...@gmail.com This

Debugging modal stacks

2014-04-13 Thread Peter Haworth
Any tips on how to debug a button script in a modal dialog? It seems that red dot breakpoints and breakpoint commands don't work in modal dialogs, at least not in the stack I'm testing right now. I can tell that the script is executing, just not producing the right results. I usually try to debug

Re: 500 ms to set a thumbpos??

2014-04-13 Thread J. Landman Gay
On 4/13/14, 11:42 AM, Dr. Hawkins wrote: While looking for the holdup in some code, put the milliseconds -strt into stp[4] set the thumbpos of sb "dnaScroll" to chrPos put the milliseconds -strt into stp[5] ck "elapsed: " && stp[0] && stp[0] && stp[1] && stp[2] && stp[3] && stp[4

[OT] Virtualization?

2014-04-13 Thread Richmond
I have a Samsung 300E5A-S01 laptop, which tells me, in the BIOS, that virtualization is not supported (although it does list 'VT-x); however, the details of the processor: http://www.notebookcheck.net/Intel-Core-i3-2330M-Notebook-Processor.52200.0.html indicate that virtualization is supported.

500 ms to set a thumbpos??

2014-04-13 Thread Dr. Hawkins
While looking for the holdup in some code, put the milliseconds -strt into stp[4] set the thumbpos of sb "dnaScroll" to chrPos put the milliseconds -strt into stp[5] ck "elapsed: " && stp[0] && stp[0] && stp[1] && stp[2] && stp[3] && stp[4] &&stp[5] The output is elapsed: 0 0 38

Do statement as "Applescript" in caller ?

2014-04-13 Thread Serge Brami
hello somebody knows what means the [caller] param in the command Do statement as "Applescript" in caller There is not any example in the livecode dictionnary Is it the name of the handler where the command is in ? I have tried but doesnt work I ask because statements as : do anythin

Re: Keydowner

2014-04-13 Thread Richmond
Smaller version: http://forums.runrev.com/viewtopic.php?f=6&t=20003 Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.co

Re: use-livecode Digest, Vol 127, Issue 23

2014-04-13 Thread bernd . gottwald
Bis zum 22.4.2014 bin ich nicht verfügbar. Ich werde meine Emails nicht lesen. In dringenden Fällen erreichen Sie mich über mein Mobiltelefon. I will be out of office until 22.4.2014. I won't read me emails. In urgent matter please call me on my mobile. ___