Re: use "" as an array key

2016-09-24 Thread Peter TB Brett
On 24/09/2016 04:26, Kay C Lan wrote: On Fri, Sep 23, 2016 at 2:27 AM, Peter TB Brett wrote: "" isn't "the absence of a string", it's a string that's 0 characters long. Being able to use it as an array key is important for being able to represent real-world data in an array. It's an import

Re: How to stop LoveCode running in Edit mode

2016-09-24 Thread David Glasgow
It has to be "live" to rhyme with hive. Because every now and then everything on a card wriggles about and jumps while you're trying to work. Sent from my iBrain via iFingers & iPad i-psych.co.uk LinkedIn > On 24 Sep 2016, at 03:09, Kay C Lan wrote: > > 8 days and no one actually a

Re: ANN: new glx2 script editor now on line

2016-09-24 Thread Mike Kerner
So what would it take to get a bunch of glx2's features rolled into the SE so we have one SE instead of two? Theming, folding, breadcrumbs, folders, revisions all are things that would be good to add to the SE, and it would make it more compelling to have a single SE project. On Fri, Sep 23, 2016

Re: ANN: new glx2 script editor now on line

2016-09-24 Thread Roger Eller
I agree. In fact, I like the built-in SE, but to have some of the glx2 features in the flagship product would be awesome. It can't be too paradigm-altering, but to allow optional features to to user-controlled in the preferences would be value added for sure. ~Roger On Sep 24, 2016 9:18 AM, "Mi

Re: ANN: new glx2 script editor now on line

2016-09-24 Thread Mike Kerner
exactly On Sat, Sep 24, 2016 at 10:34 AM, Roger Eller wrote: > I agree. In fact, I like the built-in SE, but to have some of the glx2 > features in the flagship product would be awesome. It can't be too > paradigm-altering, but to allow optional features to to user-controlled in > the preferen

Re: How to stop LoveCode running in Edit mode

2016-09-24 Thread Keith Clarke
Thanks for the response Kay. Unfortunately the problem persists in 8.1.0 on OSX & Windows, but luckily I could rework my project into a stack that would open on 7.1.4, so it’s not a show-stopper. There’s nothing special about the stacks that misbehave for me on LiveCode 8.1.0 - right-clicking b

LC 8.1 Error

2016-09-24 Thread Randy Hengst
Hi All, I’m continuing to learn about LC 8.1. I am now working on an iOS app that I put on the App Store back in 2011… that should have been iOS 5.x … I’m not sure which version of LC. The app still works in iOS 9.3.5 — I’ve not tested on iOS 10. The app is on the “update or remove” Apple lis

Re: [ ANN ] Release 8.1.1 RC-1

2016-09-24 Thread hlowe
Panos, I have resolved the issue and can now launch apps into the iOS 10.0 simulator using LC 8.1.1-RC1. The problem was that after updating to Xcode 8.0 there were no simulators, other than AppleTV, installed in the Devices & Simulators list (Xcode>Window>Devices). Adding an iPad Retina simulator

Re: ANN: new glx2 script editor now on line

2016-09-24 Thread Mark Wieder
On 09/24/2016 06:17 AM, Mike Kerner wrote: So what would it take to get a bunch of glx2's features rolled into the SE so we have one SE instead of two? Theming, folding, breadcrumbs, folders, revisions all are things that would be good to add to the SE, and it would make it more compelling to ha

Re: How to stop LoveCode running in Edit mode

2016-09-24 Thread Richard Gaskin
Keith Clarke wrote: > There’s nothing special about the stacks that misbehave for me on > LiveCode 8.1.0 - right-clicking buttons in Browser/Edit mode that > just have simple mouseUp handlers exhibit regular Pointer/Run mode > behaviour instead of (not even in addition to) expected edit > behavio

RE: [ ANN ] Release 8.1.1 RC-1

2016-09-24 Thread ** Clarence P Martin **
I have downloaded the new RC for LiveCode, just to see if the Executable Applications Settings work. They work better but there are still problems in removing stacks and sub-stacks. I did post a bug for this recently and I will repost another bug report. It is going to be somewhat complicated becau

Re: The name of the property to trace scripts into the IDE

2016-09-24 Thread Dr. Hawkins
On Fri, Sep 23, 2016 at 5:20 PM, mwieder wrote: > revUpdateGeometry is in the script of stack "/Applications/LiveCode Indy > 7.1.4.app/Contents/Tools/Toolset/libraries/revgeometrylibrary. > livecodescript", > which should be in the backscripts and available to all stacks unless you > have specifi

Re: The name of the property to trace scripts into the IDE

2016-09-24 Thread Dr. Hawkins
I found that it seemed to happen at the line *set* the topLeft of stack "revIDEProjectBrowser" to item 1 of line 2 of the screenrects +10, 80 OK, that line was wrong, as I'd already set a variable with the correct name for the stack, and that name is only used in 8+. So I fixed it--and now it

getting the "normal" messages when reopening a stack

2016-09-24 Thread Dr. Hawkins
My user interface stacks are now made by cloning the respective stack, to allow multiple open debtors, and multiple windows of each type in the interface. I store the stem that identifies tables and windows in the dbtr_stem custom property of the stack. I need to lock messages as I open the stack

Re: getting the "normal" messages when reopening a stack

2016-09-24 Thread Dr. Hawkins
I've tried putting "wait 0 with messages" in the preOpeStack handler of the new stack, but that doesn't work--execution returns there, rather than in the calling stack (which was obvious once I thought of it that way . . .) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 __

Re: LC 8.1 Error

2016-09-24 Thread J. Landman Gay
On 9/24/16 11:57 AM, Randy Hengst wrote: When I adjust the handler to use: answer pExecutionError I see 2,0,0 as the error message. How do I go about debugging line zero? Error #2 is a recursion error which seems odd here. I've always assumed that if the line number is 0, it means the scrip

Re: getting the "normal" messages when reopening a stack

2016-09-24 Thread J. Landman Gay
On 9/24/16 4:19 PM, Dr. Hawkins wrote: My user interface stacks are now made by cloning the respective stack, to allow multiple open debtors, and multiple windows of each type in the interface. I store the stem that identifies tables and windows in the dbtr_stem custom property of the stack. I

Re: LC 8.1 Error

2016-09-24 Thread Randy Hengst
I pinned it down to when I was calling iPhoneClearTouches. The script was the same as with the earlier LC: if the environment is “Mobile” then iPhoneClearTouches end if I’ll check for recursion in the handler in use when I called the clear touches. be well, randy Randy Hengst www.class

Detect lat/long Intersections

2016-09-24 Thread Javier Miranda V.
In my effort to get insight about the operations of a public transportation company, I was finally able to get the location of the units (buses), using LiveCode´s GET URL and the platform´s API they use for tracking. While I still need to “polish" some operations with the returned JSON, Array et

Re: getting the "normal" messages when reopening a stack

2016-09-24 Thread Peter Haworth
Try putting the code in your preOpenStack handler into a separate handler then call it from preOpenHandler and anywhere else you need to invoke it. On Sat, Sep 24, 2016 at 6:05 PM J. Landman Gay wrote: > On 9/24/16 4:19 PM, Dr. Hawkins wrote: > > My user interface stacks are now made by cloning

Re: ANN: new glx2 script editor now on line

2016-09-24 Thread Mike Kerner
The problem is that without understanding it, we're going to be at a distinct time disadvantage. I just went through that trying to fix a couple of things in the documentation rendering, this week. I spent a lot of hours having to learn how it worked, because nobody else knew. On Sat, Sep 24, 20

Re: Can use assign multiple behaviors to a single object?

2016-09-24 Thread Sannyasin Brahmanathaswami
Slightly 45 days later I'm back wondering about multiple behavior assignments to single "child" object @ Dick " I have a library called "libBehaviorList" you could use" Can you share that lib with us? BR Dick Kriesel" wrote: > >On Aug 11, 2016, at 2:34 PM, Sannyasin Brahmanathaswami