Search found 321 matches

by Bernard
Fri Oct 15, 2021 5:31 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: online rank
Replies: 5
Views: 3893

Re: online rank

You need some shared storage space on a network where you can store this information. For example, you could store in on a FTP server, or in Dropbox. You need to think about this question: what if two people using your app simultaneously try to update that variable. Provided your app has a different...
by Bernard
Sun Oct 10, 2021 10:49 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: LiveCode 1 - WASM
Replies: 5
Views: 3904

Re: LiveCode 1 - WASM

I remember the parallel programming course of my IT degree. Yikes. Semaphores, monitors, mutexes, etc. It was by far the hairiest part of the degree. It would have been less hairy if they had taught how to do multi-threading using Tcl. https://www.activestate.com/blog/threads-done-right-tcl/ I've do...
by Bernard
Mon Oct 04, 2021 7:46 pm
Forum: Off-Topic
Topic: LC vs Flutter
Replies: 50
Views: 44602

Re: LC vs Flutter

I am quite curious as to what profession you are referring to, that has a starting salary in excess of £100,000 but which an errant apostrophe could spell ruin (presumably £100,000 doesn't buy you staff to check your spelling for you). Corporate lawyers. In their first few well-paid years they will...
by Bernard
Mon Oct 04, 2021 7:05 pm
Forum: Off-Topic
Topic: LC vs Flutter
Replies: 50
Views: 44602

Re: LC vs Flutter

Thanks for the example, Bernard. That middle block is something I've been wanting in LC ever since I played with R: named params. I can never remember the order of all the args for "export snapshot", or the specific sugar in between them we use instead of commas, but if I could name those args like...
by Bernard
Mon Oct 04, 2021 1:55 pm
Forum: Off-Topic
Topic: LC vs Flutter
Replies: 50
Views: 44602

Re: LC vs Flutter

I thought I'd go and look at an extended tutorial on Flutter. https://www.tutorialspoint.com/flutter/flutter_tutorial.pdf This piece of code creates a dialog button, sets the title and the text of the dialog button and (I think) closes the dialog when the button is pressed. // user defined function ...
by Bernard
Mon Oct 04, 2021 12:59 pm
Forum: Mac OS
Topic: CPU usgae
Replies: 34
Views: 26606

Re: CPU usgae

What happens if you repeat that process but you also put empty into the customproperty when you clear the fields (I know that's not a solution, just trying to identify at what point a change causes your problem).
by Bernard
Mon Oct 04, 2021 11:24 am
Forum: Off-Topic
Topic: LC vs Flutter
Replies: 50
Views: 44602

Re: LC vs Flutter

Google's Wave developer community was probably far bigger than the paying userbase for Livecode. Google shelved Wave after a couple of years, dumping it on Apache. Years later, Apache discontinued it. So size of company, number of developers, FOSS - none are guarantees that a technology will survive...
by Bernard
Sat Oct 02, 2021 1:27 pm
Forum: Off-Topic
Topic: LC vs Flutter
Replies: 50
Views: 44602

Re: LC vs Flutter

Also with that logic one should only use free opensource tools not maintained or promoted by any one company, as any company can change their mind at any time and smaller companies can go under quite easily. I don’t trust google. But do I trust MS or Apple? Or LiveCode for that matter? So with that...
by Bernard
Fri Oct 01, 2021 10:00 am
Forum: Mac OS
Topic: CPU usgae
Replies: 34
Views: 26606

Re: CPU usgae

However, I'd still advise people not to use default buttons except in the circumstance they are designed for - i.e. as the default action button in a modal dialog. I'd noticed probably a decade ago that just having a single "default button" on a card would cause CPU to jump to 10% or so every time ...
by Bernard
Wed Sep 29, 2021 12:48 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Launch Persistent Shell
Replies: 12
Views: 12605

Re: Launch Persistent Shell

Assuming you STARTed the program and set the title of that process to (say) _MyTitle_ you should be able to kill off the hidden process when you close your own app using put "_MyTitle_" into tTitle put quote into q shell( merge( "taskkill /FI [[q]]WINDOWTITLE eq [[tTitle]][[q]]" ) ) I just tried kil...
by Bernard
Sat Sep 25, 2021 12:03 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Launch Persistent Shell
Replies: 12
Views: 12605

Re: Launch Persistent Shell

I thought this next step would be easy but I'm struggling. How would I close out this cmd window on closing the LC application? I tried several things in the "closeStack" routine, like: put shell("exit") put shell("cmd-dot-exe exit") ...and some other iterations of that. But I can't seem to find a ...
by Bernard
Fri Sep 24, 2021 10:10 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Launch Persistent Shell
Replies: 12
Views: 12605

Re: Launch Persistent Shell

it looks like the characters "cmd dot exe" are banned by the forum software.
by Bernard
Fri Sep 24, 2021 10:09 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Launch Persistent Shell
Replies: 12
Views: 12605

Re: Launch Persistent Shell

I have an external script that I want to trigger on openStack, but the cmd (shell) window needs to stay open. If I run this executable outside of LC, the cmd window stays open because of my input command, so it says "Press enter to exit" and awaits that key stroke. But whenever I do a "get shell(my...
by Bernard
Fri Sep 24, 2021 10:06 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Launch Persistent Shell
Replies: 12
Views: 12605

Re: Launch Persistent Shell

Why can't I reply to this. My reply (with sample code) always fails to be accepted by the forum software.
by Bernard
Mon Sep 20, 2021 5:38 pm
Forum: Android Deployment
Topic: [Partially Solved]SDK root & JDK path: None
Replies: 64
Views: 43852

Re: [Partially Solved]SDK root & JDK path: None

the community is left to its own devices, when ANY input by the mothership would help many people and probably save a lot of newbies from jumping ship before they have even dipped their toes in the water. So you've read the Lesson. Did you not see Eleanor and Panos helping a user last month, and I ...

Go to advanced search