Device implementation problems

2017-11-02 Thread Pyyhtiä Christer via use-livecode
A few days ago I raised the question on how the device behaviour differs from how it is in the IDE environment. The question posed was if there is a command go card "xyz" and the script continues to run immediately, would there be interference in terms of "getting the go done".

RE: results of SPLIT when keys not unique

2017-11-02 Thread Ralph DiMola via use-livecode
I wyyy over thought this. This is tested: SELECT animals.animalnumber, animals.animalname FROM animals GROUP BY animals.animalname; Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: Dr. Hawkins [mailto:doch...@gmail.com]

Re: iPhone X or "Apple is just the most annoying company of all time"

2017-11-02 Thread Colin Holgate via use-livecode
Apple do document what they mean by a safe area, and the amount it eats into the screen isn’t very much: https://developer.apple.com/ios/human-interface-guidelines/overview/iphone-x/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please

Re: results of SPLIT when keys not unique

2017-11-02 Thread Dr. Hawkins via use-livecode
On Thu, Nov 2, 2017 at 3:45 PM, Ralph DiMola wrote: > Whoops, not tested and I saw an error. > > Select mytable.animalname,mytable.animalnumber from (select distinct > mytable.animalname from mytable as mytable2) left join mytable on > mytable.animalname =

Re: results of SPLIT when keys not unique

2017-11-02 Thread Bob Sneidar via use-livecode
The last one of course. Bob S > On Nov 2, 2017, at 15:39 , Monte Goulding via use-livecode > wrote: > > A quick test and it looks like split will clobber any new elements with the > same key as those previously parsed. The docs state that only one element >

Re: results of SPLIT when keys not unique

2017-11-02 Thread Dr. Hawkins via use-livecode
On Thu, Nov 2, 2017 at 3:39 PM, Monte Goulding via use-livecode wrote: > It would probably be nice to have some explicit syntax to govern this > behavior so that you could explicitly declare > you want clobbering behavior or first come best dressed. explicit is

Re: results of SPLIT when keys not unique

2017-11-02 Thread Dr. Hawkins via use-livecode
On Thu, Nov 2, 2017 at 3:45 PM, Ralph DiMola wrote: > Whoops, not tested and I saw an error. > > Select mytable.animalname,mytable.animalnumber from (select distinct > mytable.animalname from mytable as mytable2) left join mytable on > mytable.animalname =

Re: results of SPLIT when keys not unique

2017-11-02 Thread Monte Goulding via use-livecode
> On 3 Nov 2017, at 9:39 am, Monte Goulding wrote: > > It would probably be nice to have some explicit syntax to govern this > behavior so that you could explicitly declare you want clobbering behavior or > first come best dressed. Oh… one might also feasibly want output

RE: results of SPLIT when keys not unique

2017-11-02 Thread Ralph DiMola via use-livecode
Whoops, not tested and I saw an error. Select mytable.animalname,mytable.animalnumber from (select distinct mytable.animalname from mytable as mytable2) left join mytable on mytable.animalname = mytable2animalname Ralph DiMola IT Director Evergreen Information Services

RE: results of SPLIT when keys not unique

2017-11-02 Thread Ralph DiMola via use-livecode
Would something like this work? Select mytable.animalname,mytable.animalnumber from (select distinct mytable.animal from mytable as mytable2) left join mytable on mytable.animalname = mytable2animalname Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net

Re: results of SPLIT when keys not unique

2017-11-02 Thread Monte Goulding via use-livecode
A quick test and it looks like split will clobber any new elements with the same key as those previously parsed. The docs state that only one element will be created but are unclear about which element value will be retained. It would probably be nice to have some explicit syntax to govern this

results of SPLIT when keys not unique

2017-11-02 Thread Dr. Hawkins via use-livecode
If I use split such that keys are not unique, will that have the effect of filtering out duplicates? For example, if I have dog 3 dog 5 cat 8 and SPLIT it, will I end up with 5 in entry dog? More specifically, is this a defined behavior, or "just how it currently works" I'm trying to

Re: Link to iOS device settings

2017-11-02 Thread Monte Goulding via use-livecode
Based on that SO discussion you should be able to use launch url. It looks like the url scheme changed from `prefs:` to `App-Prefs:` in iOS 10. So you might want to try one then the other. So: launch url “App-Prefs:root=NOTIFICATIONS_ID=” if the result is “no association" then launch url

Link to iOS device settings

2017-11-02 Thread Andrew Bell via use-livecode
Is it possible from a LiveCode app to link to the iOS device Settings? I would like to help users enable Push Notifications if they didn't the first time the app was launched, and rather than just describe where it is I'd like to jump to the Settings app. Seems to be doable in native

Re: JSON import error

2017-11-02 Thread J. Landman Gay via use-livecode
On 11/2/17 2:45 PM, Mark Wieder via use-livecode wrote: On 11/02/2017 11:57 AM, J. Landman Gay via use-livecode wrote: On 11/2/17 6:52 AM, Dave Kilroy via use-livecode wrote: https://en.wikipedia.org/wiki/Rubber_duck_debugging Yeah. Story

Re: iPhone X or "Apple is just the most annoying company of all time"

2017-11-02 Thread Mike Kerner via use-livecode
If it's like the 5c and doesn't sell, this won't be a problem. On Thu, Nov 2, 2017 at 1:35 PM, Brian Milby via use-livecode < use-livecode@lists.runrev.com> wrote: > With the X Apple is suggesting that the status bar not be turned off in > most cases. That would eliminate the issue of the top

Re: JSON import error

2017-11-02 Thread Mark Wieder via use-livecode
On 11/02/2017 11:57 AM, J. Landman Gay via use-livecode wrote: On 11/2/17 6:52 AM, Dave Kilroy via use-livecode wrote: https://en.wikipedia.org/wiki/Rubber_duck_debugging Yeah. Story of my life. I've since hit another error in the JSON

Re: JSON import error

2017-11-02 Thread J. Landman Gay via use-livecode
On 11/2/17 6:52 AM, Dave Kilroy via use-livecode wrote: https://en.wikipedia.org/wiki/Rubber_duck_debugging Yeah. Story of my life. I've since hit another error in the JSON import but now I'm afraid to post about it. :) -- Jacqueline

Re: iPhone X or "Apple is just the most annoying company of all time"

2017-11-02 Thread Brian Milby via use-livecode
With the X Apple is suggesting that the status bar not be turned off in most cases. That would eliminate the issue of the top side cut out. You should be able to use the screenrect to determine device (I guess) and not hide. On Thu, Nov 2, 2017 at 12:07 PM Bob Sneidar via use-livecode <

Re: iPhone X or "Apple is just the most annoying company of all time"

2017-11-02 Thread Bob Sneidar via use-livecode
I bet they are working on it right now! Bob S > On Nov 2, 2017, at 09:56 , Ralph DiMola via use-livecode > wrote: > > 1. iPhone X has rounded corners and an annoying "tab" at the top and the > fact that there is no home button. Users will swipe up from the

iPhone X or "Apple is just the most annoying company of all time"

2017-11-02 Thread Ralph DiMola via use-livecode
1. iPhone X has rounded corners and an annoying "tab" at the top and the fact that there is no home button. Users will swipe up from the bottom to get back to the home page. This may cause an issue for apps with buttons towards the bottom of the screen. 2. Apps that have an edge-to-edge design

RE: Announcing our first Livecode app in the iOS App Store

2017-11-02 Thread Ralph DiMola via use-livecode
Congrats! I remember the exhilaration I had after I made it through the Apple gauntlet. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of hlowe via

Re: JSON import error

2017-11-02 Thread Dave Kilroy via use-livecode
https://en.wikipedia.org/wiki/Rubber_duck_debugging ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

RE: Announcing our first Livecode app in the iOS App Store

2017-11-02 Thread Dave Kilroy via use-livecode
Congratulations on the health informatics app! Occasionally I need to do mappings to ICD-10 so I’ll definitely check out your app... Kind regards Dave ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe,

Re: JSON import error

2017-11-02 Thread Monte Goulding via use-livecode
file: will recognise the BOM and decode the text correctly. > On 2 Nov 2017, at 5:36 pm, J. Landman Gay via use-livecode > wrote: > > I sent my message too soon. If I import as "file:" instead of "binfile:" it > mostly works. > > You always figure it out as

Re: JSON import error

2017-11-02 Thread J. Landman Gay via use-livecode
I sent my message too soon. If I import as "file:" instead of "binfile:" it mostly works. You always figure it out as soon as you post. It's a rule. On 11/2/17 1:02 AM, J. Landman Gay via use-livecode wrote: I am trying to convert some JSON to a LC array. Both JSONImport and JSONToArray are

JSON import error

2017-11-02 Thread J. Landman Gay via use-livecode
I am trying to convert some JSON to a LC array. Both JSONImport and JSONToArray are failing. JSONToArray gives only a generic "error in function". JSONImport gives this: 863,9,9,runtime 864,9,9,syntax error: 1:1 Unexpected character '˛' 865,9,9,json.lcb 866,9,9,65 897,9,9,1 865,9,9,json.lcb