Search found 274 matches

by karmacomposer
Tue Sep 29, 2020 9:21 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: [SOLVED] I need to split up a line into an array. Got all but the last part - any help?
Replies: 15
Views: 730

Re: I need to split up a line into an array. Got all but the last part - any help?

Hi, Our own. Not a database. Not a blockchain. A bit of both. Finished 10 million records in 2 days. Phew! If it'd take me 2 hours to import 10 mil records I'd finally donate my mac Plus with its FileMaker 1.0 to the museum, and migrate to mySQL (or better) in a modern data center ;-))) Sry, couldn...
by karmacomposer
Tue Sep 29, 2020 3:00 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: [SOLVED] I need to split up a line into an array. Got all but the last part - any help?
Replies: 15
Views: 730

Re: I need to split up a line into an array. Got all but the last part - any help?

All works except the last (put anything after trueword 6...) would this help? put trueWord 7 to -1 of newLine into OPSInfo Kind regards Bernd Thank you. That worked. Let me ask you: I have two other sections to parse. I will never know their exact length, but I need to parse and show them in separa...
by karmacomposer
Tue Sep 29, 2020 1:42 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: [SOLVED] I need to split up a line into an array. Got all but the last part - any help?
Replies: 15
Views: 730

Re: I need to split up a line into an array. Got all but the last part - any help?

FourthWorld wrote:
Sun Sep 27, 2020 6:58 am
karmacomposer wrote:
Sun Sep 27, 2020 3:50 am
I can test it tomorrow. I am in a push to import 10 million data records. At 6.9 million right now. Took 19 hours.
What sort of DB is the data going into?
Our own. Not a database. Not a blockchain. A bit of both.

Finished 10 million records in 2 days. Phew!

Mike
by karmacomposer
Sun Sep 27, 2020 3:50 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: [SOLVED] I need to split up a line into an array. Got all but the last part - any help?
Replies: 15
Views: 730

Re: I need to split up a line into an array. Got all but the last part - any help?

I can test it tomorrow. I am in a push to import 10 million data records. At 6.9 million right now. Took 19 hours.

Mike
by karmacomposer
Sat Sep 26, 2020 2:28 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: [SOLVED] I need to split up a line into an array. Got all but the last part - any help?
Replies: 15
Views: 730

Re: I need to split up a line into an array. Got all but the last part - any help?

Craig,

There are reasons I set the itemDelim so much.

I have chunks of data I am turning into arrays and I need to parse the 2nd line into it's requisite parts. I have all but the last.

I'll upload a data fragment in a bit.

Mike
by karmacomposer
Fri Sep 25, 2020 6:45 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: [SOLVED] I need to split up a line into an array. Got all but the last part - any help?
Replies: 15
Views: 730

[SOLVED] I need to split up a line into an array. Got all but the last part - any help?

I have this code: replace space with ";" in newLine set itemdel to ";" put trueword 1 of newLine into OPSIDTime replace ";" with tab in OPSIDTime set itemdel to tab put trueword 1 of OPSIDTime into OPSID put trueword 2 of OPSIDTime into OPSTime set itemdel to ";" put trueword 2 of newLine into OPSSo...
by karmacomposer
Thu Sep 24, 2020 2:17 am
Forum: Android Deployment
Topic: Path to document folder
Replies: 16
Views: 2512

Re: Path to document folder

No, it's just one file and the permissions are open, so no problem there. It does not show. I am not using external documents. At this point, I may have to either have the user choose from a web page or somehow load it in from somewhere else. I have a feeling I have to use the app to save a file in ...
by karmacomposer
Wed Sep 23, 2020 3:46 am
Forum: Android Deployment
Topic: Path to document folder
Replies: 16
Views: 2512

Re: Path to document folder

I know this is an old thread, but I am also having the same problem. I have the following code: on openCard ## List all files in Documents put files (specialfolderPath("documents") & "/") into tFiles put tFiles into field "fldFiles" end openCard I only see one file in the app when testing on my LG V...
by karmacomposer
Fri Aug 14, 2020 2:00 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Can we create a Windows service with Livecode?
Replies: 11
Views: 832

Re: Can we create a Windows service with Livecode?

How do I start Livecode so that a openStack (or openCard) command does not execute immediately and allows me to compile? You could also first turn Messages Off in the IDE, and the load it. Nothing will work from your stack then. You can build an exe. That does not work when the main functions are b...
by karmacomposer
Wed Aug 12, 2020 11:49 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Can we create a Windows service with Livecode?
Replies: 11
Views: 832

Re: Can we create a Windows service with Livecode?

How do I start Livecode so that a openStack (or openCard) command does not execute immediately and allows me to compile? The environment function will return "development" when in the IDE, e.g.: on openStack if "dev" is in the environment then exit openStack DoSomethingAtRuntime end openStack So it...
by karmacomposer
Wed Aug 12, 2020 6:15 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Can we create a Windows service with Livecode?
Replies: 11
Views: 832

Re: Can we create a Windows service with Livecode?

Here are some links that might offer a solution. https://www.howtogeek.com/50786/using-srvstart-to-run-any-application-as-a-windows-service/ https://robotronic.de/runasserviceen.html Regards, Paul Those links are perfect. Thank you. Second question: I would prefer to run the program's contents insi...
by karmacomposer
Wed Aug 12, 2020 3:51 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Can we create a Windows service with Livecode?
Replies: 11
Views: 832

Can we create a Windows service with Livecode?

I would like to convert one of my desktop apps made with Livecode into a running service so it can run seamlessly in the background and not be easily shut down to ward against hackers and breaches.

Can this be done on Windows? Mac? Linux?

Thanks.

Mike
by karmacomposer
Fri Aug 07, 2020 10:12 pm
Forum: Using Externals
Topic: [SOLVED] Has anyone recently compiled a ChartMaker included graph with no errors?
Replies: 3
Views: 702

Re: Has anyone recently compiled a ChartMaker included graph with no errors?

I found out the cause. Hi Mike, Clearly stated in flexiblelearning documentation: chartmaker doc.jpg Regards, Thierry Thierry, No, that is incorrect. It's not clear as in it's not even stated. I did all of that and it failed every time. It wasn't until I unchecked that option that it succeeded. No ...
by karmacomposer
Thu Aug 06, 2020 9:38 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: [SOLVED] Something is not right with my data
Replies: 45
Views: 3333

Re: [SOLVED] Something is not right with my data

It's important to note that none of this would have been necessary and all commands would have worked fine (as well as the coding logic) if it wasn't for the fact that the source data was encoded base-16 and messing up everything. Once that was recognized and addressed (erasing all nulls), everythin...
by karmacomposer
Thu Aug 06, 2020 9:33 pm
Forum: Using Externals
Topic: [SOLVED] Has anyone recently compiled a ChartMaker included graph with no errors?
Replies: 3
Views: 702

Re: Has anyone recently compiled a ChartMaker included graph with no errors?

I found out the cause.

In the Livecode standalone application settings window, there is a check box for moving substacks into individual stack files - make sure it is unchecked or compilation of ChartMaker will fail.

That's it.

Mike

Go to advanced search