Re: Last record of a cursor?

2021-09-17 Thread Bob Sneidar via use-livecode
Ralph, thanks for the tip. Those handlers were just what I needed. Not sure why I couldn’t find them when I perused the dictionary. Getting daft in my senior years I suppose. I still think it’s inane though, having the first record and last record be 0 when there’s one record. Cannot change it n

Re: Last record of a cursor?

2021-09-17 Thread Bob Sneidar via use-livecode
Oh sorry, I posted this just before Ralph replied. Thanks Ralph I will try your suggestions. Bob S > On Sep 17, 2021, at 16:32 , Bob Sneidar wrote: > > Okay something is not right with the API! First, my query in my script is set > to: > > SELECT * from files where siteid = '1659' > > If

Re: Last record of a cursor?

2021-09-17 Thread Bob Sneidar via use-livecode
Okay something is not right with the API! First, my query in my script is set to: SELECT * from files where siteid = '1659' If I run this in mySQLWorkbench, I get one record, so I know the query works. Also, I know the cursor contains records, because as I step through the loops which get the

RE: Last record of a cursor?

2021-09-17 Thread Ralph DiMola via use-livecode
Bob, See: revQueryIsAtEnd revnumberofrecords If the number of records is 0 then no results were returned. If revQueryIsAtEnd is true then you're at the end. This will happen after you do an additional revMoveToNextRecord when on the last record. Ralph DiMola IT Director Evergreen Information Ser

RE: IAP in App Store

2021-09-17 Thread Ralph DiMola via use-livecode
Might we have a message path issue here? Put a test "purchaseStateUpdate" in the card of the stack that you are starting this in. Ralph DiMola IT Director rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of J. Landma

Last record of a cursor?

2021-09-17 Thread Bob Sneidar via use-livecode
Hi all. I am trying to discern between when I have an empty cursor, and when I have reached the last record of a cursor. I have noticed that if I query a database that returns no results, I still get a cursor ID, so I cannot test for a cursor ID. So after my loop to convert a cursor to an ar

Re: IAP in App Store

2021-09-17 Thread J. Landman Gay via use-livecode
Yes, I tested on real devices, both an iPad and an iPhone. I also just set up testing on the Google Play Store and got the same non-results. I will look at the test stack in the lesson, thanks Panos. On 9/17/21 3:22 PM, panagiotis m via use-livecode wrote: Hello Jacque, I am away from my mac

Re: IAP in App Store

2021-09-17 Thread panagiotis m via use-livecode
Hello Jacque, I am away from my machine now, so I cannot test, but I would suggest you try with the simplest example first, that is to use the sample stack of the lesson, and just change the in-app product IDs to match yours. If this works for you (by "works" I mean at least to show the in-app pur

Re: IAP in App Store

2021-09-17 Thread J. Landman Gay via use-livecode
Panos, the LC lesson says the mobileStoreMakePurchase command sends the request and begins the purchasing process. The behavior I'm seeing is that the request isn't being sent at all. The older syntax has a specific mobilePurchaseSendRequest command, which the newer syntax does not use. Should

Re: IAP in App Store

2021-09-17 Thread J. Landman Gay via use-livecode
Here's what I'm doing. The initial request is set up for testing, the capitalized parts will be removed later. on purchaseIAPProduct pProductID,pQuantity -- pProductID = the reverse-domain store ID -- pQuantity = The number of pProductIDs to purchase. Defaults to 1 if mobileStoreCanMakePur

Re: IAP in App Store

2021-09-17 Thread panagiotis m via use-livecode
Hello Jacque, How do you initiate a purchase? Have you called mobileStoreEnablePurchaseUpdates? This command creates a "channel" for communicating with the app store. Since you get no response at all, it seems for some reason this channel is not created. Can you share your purchase code? Kind reg

Re: LC IDE Menu suddenly is slow / responds slowly

2021-09-17 Thread J. Landman Gay via use-livecode
Have you checked the pendingMessages? A while ago Swami posted a slowdown that showed dozens and dozens of repeating IDE messages. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 17, 2021 3:28:12 AM matthias rebbe via use-live

Re: LC IDE Menu suddenly is slow / responds slowly

2021-09-17 Thread matthias rebbe via use-livecode
Hi Rick, thanks. When this happens, the memory consumption is not significantly higher. Right after start of LC it's about 160MB. When the problem occurs and the IDE menu responds slower then the memory consumption is about 300MB. I will stay with 9.6.3 the next days, so i can see if it's just

Re: LC IDE Menu suddenly is slow / responds slowly

2021-09-17 Thread Tom Glod via use-livecode
I've been wrestling with the same IDE slowdown the last couple of days trying to get to the bottom of it. I've tested to make sure its on the IDE and not standalone. It seems to be so. It happens in 9.6.3 as well. I think it has to do with the script editor, see if you experience it with a se clo

Re: IAP in App Store

2021-09-17 Thread J. Landman Gay via use-livecode
After initiating a purchase I get nothing. No dialog, no errors. It acts like I never pushed the button, the app just sits there. I'm logging everything. The log shows my comment that I'm initiating a purchase. There are no other log entries until the timeout message. The product ID matches t

Re: LC IDE Menu suddenly is slow / responds slowly

2021-09-17 Thread Rick Harrison via use-livecode
Hi Matthias, Check to see if after later use the memory consumption gets a lot larger. It could be a memory leak, or garbage collection failure. Rick > On Sep 17, 2021, at 4:25 AM, matthias rebbe via use-livecode > wrote: > > Hi, > > i am currently noticing a massive slow down of the LC 9.6

Re: LC IDE Menu suddenly is slow / responds slowly

2021-09-17 Thread Richmond Mathewson via use-livecode
Surely the best way to see whether the slow down is LC 9.6.4 or MacOS Big Sur is to install LC 9.6.3 alongside 9.6.4 However, I should say that as soon as the Monterey (MacOS 12) betas became available I dropped Big Sur (MacOS 11) like a hot potato, and have found MacOS 12 beta far, far better. Pe

LC IDE Menu suddenly is slow / responds slowly

2021-09-17 Thread matthias rebbe via use-livecode
Hi, i am currently noticing a massive slow down of the LC 9.6.4 IDE menu. Not right away after opening Livecode IDE, but after some time of usage. I never noticed that in 9.6.3. Clicking on an main menu entry takes then about 2 or 3 seconds until i can see the submenu But I am not sure if this

Re: IAP in App Store

2021-09-17 Thread panagiotis m via use-livecode
Hello Jacque, >instead the next call to make a purchase should pop up a dialog asking for an Apple ID Yes, this is what should happen. What do you get when trying to make a purchase? I take it that the in-app purchase product IDs in your script do match the ones you set up in iTunes Connect,

Re: What's in LC 9.6.4?

2021-09-17 Thread Mark Waddingham via use-livecode
On 2021-09-16 11:50, Curry Kenworthy via use-livecode wrote: What are the big LC 9.6.4 changes versus 9.6.3? Thanks. The licensing and the fact it is single edition - beyond that 9.6.4 should be functionally identical to 9.6.3 (hence why the release notes do not list any IDE/Engine changes!).