Re: Saving data in standalone

2024-05-20 Thread Tom Glod via use-livecode
I have a plugin that is not complete which can save livecode groups and all of their properties, custom properties and scripts. If you'd like I'll send you some of the code. PM me. Should be super easy to find the code u need, and then inverse it. If you did that it would help me complete the plug

Re: UPDATE: filterArray()

2024-05-20 Thread Bob Sneidar via use-livecode
Yes but what you may not see is that if a memory database already exists and you pass the id it will check for it’s existence, so then all it does is replace the table (if it exists) with the name you pass with a new table containing that parsed array. There may be other tables in the memory dat

Re: UPDATE: filterArray()

2024-05-20 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: > I’m surprised about the time differential. I was too, but in the end it kinda makes sense. Both LC and SQLite are complex scripting engines, where code has to be parsed and interpreted into executable machine instructions. The one advantage of filtering LC arrays in LC Sc

Re: UPDATE: filterArray()

2024-05-20 Thread Bob Sneidar via use-livecode
I’m surprised about the time differential. Obviously LC parsing is much faster, I guess because filterArray has the initial overhead of creating and populating the database. I’ve never used it for large datasets. I guess the main advantage for using filterArray() is that using the LC parser, f