Re: When is open stack sent on Mobile

2016-07-27 Thread Paul Hibbert
A quick test shows that suspendStack and resumeStack do appear to work on the iOS simulator despite the omission of mobile platforms in the dictionary. Sorry I don’t have Android set up for testing right now. LC 8.1.0 • Mac OSX 10.11.6 • iOS 9.3 Paul > On Jul 27, 2016, at 4:25 PM, Sannyasin

Re: Reading arrays, 3 methods tested, results

2016-07-27 Thread Mark Wieder
On 07/27/2016 01:52 PM, Richard Gaskin wrote: I get very different results here using this script to produce a small sample data set. I would expect them to be different given that Method 1 re-uses a single multi-line key, and Method 3 uses a multi-line key to retrieve a value that in the

When is open stack sent on Mobile

2016-07-27 Thread Sannyasin Brahmanathaswami
It appears on mobile you can issue go stack "stackOne" and then later go stack "stackTwo" and then you will only see "stackOne" But if you have links that go backto "stackOne" I'm not getting any open stack or open card messages handlers to fire. I suspect that's because they are still.

Re: Reading arrays, 3 methods tested, results

2016-07-27 Thread Richard Gaskin
Phil Davis wrote: > Hey Richard, > > Wouldn't it give more accurate results to compare arrays without > encoding them, rather than comparing the encoded arrays? Isn't > encoded string way roughly 100% likely to be 'not equal'? Is it? Modifying my code to come up with examples using different

Re: Reading arrays, 3 methods tested, results

2016-07-27 Thread Phil Davis
Hey Richard, Wouldn't it give more accurate results to compare arrays without encoding them, rather than comparing the encoded arrays? Isn't encoded string way roughly 100% likely to be 'not equal'? Thanks - Phil Davis On 7/27/16 1:52 PM, Richard Gaskin wrote: Mark Talluto wrote: >> On

Re: Reading arrays, 3 methods tested, results

2016-07-27 Thread Richard Gaskin
Mark Talluto wrote: >> On Jul 27, 2016, at 12:48 PM, Richard Gaskin wrote: >> >> Thanks, Mark. You know I loves me some benchmarking. :) >> >> Do all three produce the same result? > > Yes. I get very different results here using this script to produce a small sample data set. I would expect

Re: Reading arrays, 3 methods tested, results

2016-07-27 Thread Mark Talluto
Yes. -Mark > On Jul 27, 2016, at 12:48 PM, Richard Gaskin > wrote: > > Thanks, Mark. You know I loves me some benchmarking. :) > > Do all three produce the same result? > > - rg > > > Mark Talluto wrote: > > Thought this might be interesting to those

Re: Reading arrays, 3 methods tested, results

2016-07-27 Thread Richard Gaskin
Thanks, Mark. You know I loves me some benchmarking. :) Do all three produce the same result? - rg Mark Talluto wrote: > Thought this might be interesting to those benchmarking reads on > arrays. I was working to optimize one small section of code in > our database and found that the method

Reading arrays, 3 methods tested, results

2016-07-27 Thread Mark Talluto
Thought this might be interesting to those benchmarking reads on arrays. I was working to optimize one small section of code in our database and found that the method I figured would be the slowest ended up being the fastest. Maybe this will be helpful to others doing a lot of array work.

Re: Moving from 6.6.1 to 8.0.0 Handlers vanished

2016-07-27 Thread Camm
Hi , Thanks all. Yes , I put in a space , applied and saved. Opened again , no change , then put space in and apply this time error for using "until" in repeat. Put that right and all handlers appeared , as you said. Great !! Regards Camm - Original Message - From:

Re: Moving from 6.6.1 to 8.0.0 Handlers vanished

2016-07-27 Thread Richard Gaskin
Camm wrote: > No syntax error just all handlers missing LC8 You may want to double-check that the splitter at the bottom of the window isn't pulled all the way down. That's normally where compilation errors are reported, but if it's collapsed you may not see them. A single error preventing

Re: Moving from 6.6.1 to 8.0.0 Handlers vanished

2016-07-27 Thread Mike Bonner
Camm, you did actually type something (almost anything) into the script (you said the script is there, but the handlers don't show) and then apply the changes? (even a space will work) This was mentioned elsewhere, and I've run across it in the past myself where a script can be set, but still

Re: Moving from 6.6.1 to 8.0.0 Handlers vanished

2016-07-27 Thread panagiotis merakos
Camm, Are you on Windows? It might be the case that some non-printable chars where added to the script editor if you copied the scripts from LC 6.x and pasted them into LC 8. I would suggest you submit a bug report and attach your stack that exhibits the problem. Best, Panos -- On Wed, Jul

Re: Move to the points

2016-07-27 Thread [-hh]
This kind of a points list is a typical application for "repeat with .. step", we had it here recently ... on mouseUp repeat with j=0.1 to 12.5 step 0.1 put cr & (sin(j)*cos(j)*300 + 400, cos(j)*300 + 400) after pts end repeat set points of grc "g1" to char 2 to -1 of pts end mouseUp

Re: Moving from 6.6.1 to 8.0.0 Handlers vanished

2016-07-27 Thread Camm
No syntax error just all handlers missing LC8 So in LC6xx on Fish statement... statement... end Fish on Dog statement... statement... end Dog Fish and Dog appear in Handler List and Statements execute fine. In LC8 Fish and Dog do not appear in Handler List , so when called the "Handler

Re: HELP with: open printing for pdf...

2016-07-27 Thread Monte Goulding
No problem Paul. Looking forward to the beer next year ;-) > On 27 Jul 2016, at 4:43 PM, Paul Dupuis wrote: > > Monte, > > Thank you so much - exactly that - so for LC6.x I added the follow which > address the problem whether in the IDE or standalone > > put the

AW: HELP with: open printing for pdf...

2016-07-27 Thread Paul Dupuis
Monte, Thank you so much - exactly that - so for LC6.x I added the follow which address the problem whether in the IDE or standalone put the defaultFolder into tSaveDefaultFolder if (the environment is "development") then -- IDE set the defaultFolder to specialFolderPath("engine") else --

Re: Move to the points

2016-07-27 Thread dunbarx
,,Richmond. I was using your first posts handlers. Craig -Original Message- From: Richmond To: How to use LiveCode Sent: Wed, Jul 27, 2016 9:59 am Subject: Re: Move to the points Usual nonsense: replying to my own

Re: Move to the points

2016-07-27 Thread dunbarx
,Richmond I get no errors at all with your handlers. The figure-8 draws fine, and the tracking is lovely. Craig -Original Message- From: Richmond To: How to use LiveCode Sent: Wed, Jul 27, 2016 9:46 am Subject: Move to

Re: Move to the points

2016-07-27 Thread Richmond
Usual nonsense: replying to my own postings: The problem lies in my relying on put (KOUNT * 10) into LYNE to supply me with continuous line numbers for my listField, now sorted out: on mouseUp put empty into fld "f1" put 0.1 into KOUNT put 1 into LYNE repeat until KOUNT > 12.6

Re: Move to the points

2016-07-27 Thread Richmond
Of course part of this could be the problem that my initial curve generation script leaves empty lines in the listField that contains the points of the curve. R. On 27.07.2016 16:44, Richmond wrote: So I have a graphic object generated like this: on mouseUp put empty into fld "f1"

Move to the points

2016-07-27 Thread Richmond
So I have a graphic object generated like this: on mouseUp put empty into fld "f1" put 0.1 into KOUNT repeat until KOUNT > 12.6 put (KOUNT * 10) into LYNE put ( ( ((sin (KOUNT)) * (cos (KOUNT)) ) * 300) + 400) into LR put cos (KOUNT)) ) * 300) +400) into TB

Re: Wildcard Livecode 8

2016-07-27 Thread Kay C Lan
On Sun, Jul 24, 2016 at 1:51 AM, Richmond wrote: > Which tells me nothing useful whatsoever; such as what the wildcard > character might be, or how to > > use wildcards in Livecode. > Lookup the online Dictionary for 'filter', it's in the 'command' folder. I think it

Re: Licensing AGAIN [was: Sharing FontLab Plugin]

2016-07-27 Thread Sannyasin Brahmanathaswami
Merci, Robert Bien sur… le media et les lines de code n'est pas la meme chose… Others have contacted me off list about this with similar thoughts… seems worth pursuing with the Mothership.. but they are in conference prep mode right now. No better environment than LC for developing the

Re: Parsing the long ID or long Name

2016-07-27 Thread Sannyasin Brahmanathaswami
@ mark … duh… no you are not underthinking… I was over thinking…sure..that works. @ Alex confirmed: put format ("group \"word with spaces\"") into tVar; put word 2 of tVar returns "word with spaces" Wow.. that's both unintuitive/unexpected and useful new knowledge! Thanks This use