Re: How do I get the ID of a database?

2021-07-12 Thread Bob Sneidar via use-livecode
That's what I ended up doing. I am so used to using sqlYoga, so the standard API took a little getting used to. Bob S > On Jul 9, 2021, at 19:30 , Tom Glod via use-livecode > wrote: > > Hey Bob I don't understand the problem. Why don't you just store the ID > in a persistent place? i

Re: [iOS] possible console bug

2021-07-12 Thread matthias rebbe via use-livecode
Andre, tested now with LC 9.6.3 and Xcode 12.4, as i am still on Catalina. Took me some time to download Xcode. i tried here with 2 different physical devices (iPhone 7 iOS 14.4 and iPhone 12 iOS 14.6) and was able to see the output in the Console log pressing the 'open console' button in

Re: [iOS] possible console bug

2021-07-12 Thread Andre Garzia via use-livecode
> On 12 Jul 2021, at 16:02, Mark Waddingham via use-livecode > wrote: > > If you run the app on a real iOS device, do you see your log messages in the > device log for it? Could it be Apple are now funneling simulator logs into a > pane in Xcode - like they do for devices, rather than have

Re: [iOS] possible console bug

2021-07-12 Thread matthias rebbe via use-livecode
The Simulator from Xcode 12.1 still shows the menu entry 'Show System Log..." under the Debug menu. That entry opens the "normal" system log. > Am 12.07.2021 um 17:02 schrieb Mark Waddingham via use-livecode > : > > On 2021-07-12 15:37, Andre Garzia via use-livecode wrote: >> Mark, >>

Re: [iOS] possible console bug

2021-07-12 Thread Mark Waddingham via use-livecode
On 2021-07-12 15:37, Andre Garzia via use-livecode wrote: Mark, That’s the problem, I’m looking at the system log on the iOS Simulator and there is no output for put without a target. Heh sorry - I didn't actually read the code you posted in your original post :D I believe this should work

[iOS] possible bug with javascriptHandlers on iOS

2021-07-12 Thread Andre Garzia via use-livecode
I started a thread today about a possible bug with using “put without a target” on iOS. That bug appeared while I was trying to debug a problem with a mobile app we’re developing. It is an odd bug, we have it working on macOS Desktop inside the IDE and on Android, but it fails on iOS. The

Re: [iOS] possible console bug

2021-07-12 Thread Andre Garzia via use-livecode
Mark, That’s the problem, I’m looking at the system log on the iOS Simulator and there is no output for put without a target. Om om A > On 12 Jul 2021, at 15:14, Mark Waddingham via use-livecode > wrote: > > On 2021-07-12 15:01, Andre Garzia via use-livecode wrote: >> but it is supposed to

Re: [iOS] possible console bug

2021-07-12 Thread Mark Waddingham via use-livecode
On 2021-07-12 15:01, Andre Garzia via use-livecode wrote: but it is supposed to work, right? Did this changed in some version? Apple stopped piping stdout/stderr to 'console' a few years ago I think - both on Desktop, and when looking at the device console for iOS. In version 9.0 though we

Re: [iOS] possible console bug

2021-07-12 Thread Jimmieson, Phil via use-livecode
I think it changed at some point and you’re now supposed to use write to stdout though I just tried that and couldn’t get it to produce any output in the console. On 12 Jul 2021, at 15:01, Andre Garzia via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: but it is supposed to

Re: [iOS] possible console bug

2021-07-12 Thread Andre Garzia via use-livecode
but it is supposed to work, right? Did this changed in some version? > On 12 Jul 2021, at 14:45, matthias rebbe via use-livecode > wrote: > > I tried here with LC9.6.2 under Catalina. It doesn't work either. > > >> Am 12.07.2021 um 14:49 schrieb Andre Garzia via use-livecode >> : >> >>

Re: [iOS] possible console bug

2021-07-12 Thread matthias rebbe via use-livecode
I tried here with LC9.6.2 under Catalina. It doesn't work either. > Am 12.07.2021 um 14:49 schrieb Andre Garzia via use-livecode > : > > Hi Friends, > > I’m writing here before I fill up a bug report because I don’t know if I’m > doing things correctly. > > From what I remember, if we

Re: [iOS] possible console bug

2021-07-12 Thread Andre Garzia via use-livecode
Besides that original problem, I have another one which is that calls to “do … in widget ‘browser’” are not working on iOS Simulator but work fine on the Desktop and Android. The code has no branching for each system, it is the exact same code in all platforms. There is no error, it simply

[iOS] possible console bug

2021-07-12 Thread Andre Garzia via use-livecode
Hi Friends, I’m writing here before I fill up a bug report because I don’t know if I’m doing things correctly. From what I remember, if we did a “put” to stdout, it would appear in the system log on iOS Simulator. Is that still the case? I have an empty stack here with a button with the