Search found 4616 matches

by jacque
Tue Dec 18, 2018 6:26 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Strategy to construct a Stack
Replies: 13
Views: 189

Re: Strategy to construct a Stack

You'd only need record locking if users are allowed to edit the data. If so, a lock file on the server is the usual approach.
by jacque
Tue Dec 18, 2018 5:02 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Strategy to construct a Stack
Replies: 13
Views: 189

Re: Strategy to construct a Stack

Another approach is to store the building info in an array if you don't need all the functionality of a database. Arrays are very fast and 360 buildings isn't a very large number. The array can be stored in the stack itself or in an external file. But the decision depends a lot on how you'll use the...
by jacque
Mon Dec 17, 2018 6:30 pm
Forum: Windows
Topic: Trouble Importing a URL File
Replies: 1
Views: 73

Re: Trouble Importing a URL File

You may need to use textDecode on the incoming data, I imagine it's UTF8. If that doesn't work, paste what you see into a message here.
by jacque
Mon Dec 17, 2018 6:06 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Report in LiveCode
Replies: 14
Views: 360

Re: Report in LiveCode

It's more than just adding numbers. Some sections get repeated, with sums below those, and then a master total at the end. This means creating groups elsewhere, copying them in as needed, diligently positioning them, populating them with data, and then doing the arithmetic. Nah, the hide/show metho...
by jacque
Mon Dec 17, 2018 2:31 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Priority Queue Exercise
Replies: 10
Views: 278

Re: Priority Queue Exercise

bogs wrote:
Sun Dec 16, 2018 8:39 pm
jacque wrote:
Sun Dec 16, 2018 6:39 pm
And I think sonicflare9 is a bot...
That doesn't mean it can't learn to program while moving on to become a fully developed AI... :twisted:
So true. For all we know, you're a bot. :)
by jacque
Sun Dec 16, 2018 8:10 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Report in LiveCode
Replies: 14
Views: 360

Re: Report in LiveCode

The trick here is that his report has summaries and sub-summaries. FMP's reporting is quite excellent. This is all doable in LC, but would have to be scripted; in FMP it's right there in the box, and the work to recreate it is non-trivial. It's just a matter of calculating sums from the page data b...
by jacque
Sun Dec 16, 2018 6:44 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Report in LiveCode
Replies: 14
Views: 360

Re: Report in LiveCode

I talked about this in your other thread: https://forums.livecode.com/viewtopic.p ... 15#p174267
by jacque
Sun Dec 16, 2018 6:39 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Priority Queue Exercise
Replies: 10
Views: 278

Re: Priority Queue Exercise

And I think sonicflare9 is a bot programmed to recognize development forums and post something that might sound relevant. But then, I'm jaded.
by jacque
Sun Dec 16, 2018 6:33 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Standalone with SQLite and Mac
Replies: 23
Views: 549

Re: Standalone with SQLite and Mac

LiveCode provides all the features you need to create any kind of report, but as a development tool it requires that you build and script the report yourself. I've created complex reports of many types. It does take time but anything is possible. The basic work flow: Create a card in a substack that...
by jacque
Sat Dec 15, 2018 5:43 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to place a transparent PNG image over card image?
Replies: 9
Views: 283

Re: How to place a transparent PNG image over card image?

I read somewhere that LC does not support card-over-card, or put another way, image-over-image on the same card. Cards are like the walls in your house, they are structural and only one can be viewed at a time. The objects on the card are more flexible and can be overlapped. This should work in bot...
by jacque
Thu Dec 13, 2018 9:27 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Un-Caching URL results
Replies: 3
Views: 135

Re: Un-Caching URL results

Everything is lost after shutdown, the pendingMessages are wiped and the internet connection is closed. If you need to store the last URL for resend after shutdown then you'd need to save it to disk, but I don't think I'd repeat all the pending messages if there are duplicates. I'd just send a singl...
by jacque
Wed Dec 12, 2018 9:47 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Un-Caching URL results
Replies: 3
Views: 135

Re: Un-Caching URL results

The cachedURLs only apply to URLs downloaded with the "load" command, so there won't be anything cached in this case. The command isn't compatible with mobile anyway, so not much use here. Since the result reports empty on failure, see what is in "it" as well, and let us know what it says. You may b...
by jacque
Wed Dec 12, 2018 9:09 pm
Forum: Talking LiveCode
Topic: erratic movement of controls with repeat
Replies: 23
Views: 422

Re: erratic movement of controls with repeat

i ran Craig's test script on OSX High Sierra, LC 9.0.2. I ran 10 full runs and saw no difference in performance between them. I don't think it's LC or the OS.

I'd guess graphics card or CPU.

iMac (Retina 5K, 27-inch, Late 2015)
3.2 GHz Intel Core i5
32 GB RAM
AMD Radeon R9 M390 2048 MB
by jacque
Tue Dec 11, 2018 7:43 pm
Forum: Talking LiveCode
Topic: erratic movement of controls with repeat
Replies: 23
Views: 422

Re: erratic movement of controls with repeat

Repeat loops are slow and waiting inside one is slower. The repeat loop is blocking besides, never a good thing. You could try "wait 0 with messages" which at least will allow the engine to clean up inside the loop. More importantly, set the button's layermode to dynamic and set acceleratedRendering...
by jacque
Tue Dec 11, 2018 7:15 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: different image display with LC 8.16 (good) and LC 9.01
Replies: 3
Views: 145

Re: different image display with LC 8.16 (good) and LC 9.01

What ink does the image use? Just a guess, but the old bitmap inks have been deprecated, you might need to use one of the newer inks.

Go to advanced search