Search found 25 matches

by slindstrom
Wed Jul 24, 2019 5:50 am
Forum: Talking LiveCode
Topic: help with filter command
Replies: 8
Views: 1215

Re: help with filter command

Bingo. Thanks so much, SparkOut!
by slindstrom
Wed Jul 24, 2019 2:02 am
Forum: Talking LiveCode
Topic: help with filter command
Replies: 8
Views: 1215

Re: help with filter command

And if I replace tab & "abc" & tab with "#abc#" in myVar and then…

filter lines of myVar without "#abc#"

that doesn't work either. So there is something I am fundamentally missing about how the filter command is supposed to be used. Help?

Thanks in advance,

Sieg
by slindstrom
Wed Jul 24, 2019 1:41 am
Forum: Talking LiveCode
Topic: help with filter command
Replies: 8
Views: 1215

Re: help with filter command

Alas this doesn't help either.

"The other way around it may be to set your itemdelimiter to "comma" and filter tab & "abc" & tab, which would make 'tab' a part of the data and therefore searchable. Just remember to reset your itemdelimiter to tab afterwards."

:(
by slindstrom
Wed Jul 24, 2019 1:36 am
Forum: Talking LiveCode
Topic: help with filter command
Replies: 8
Views: 1215

Re: help with filter command

Thank you Xero. I hear what you're saying… Sort of. The LC replace command will handle a string consisting of tab & "abc" & tab. And this works. put tab & "abc" & tab into findString get lineOffset(findString) in myVar So I don't understand why the filter command can't accept tab as part of a string...
by slindstrom
Tue Jul 23, 2019 11:47 pm
Forum: Talking LiveCode
Topic: help with filter command
Replies: 8
Views: 1215

help with filter command

Hello. I find myself at a loss in using the filter command. My instant problem: I have a tab-delimited list in a variable and wish to filter out all lines containing instances of the string tab & "abc" & tab. I've tried this with no success. put tab & "abc" & tab into cutString filter lines of myVar...
by slindstrom
Thu Jun 27, 2019 7:41 pm
Forum: Talking LiveCode
Topic: substack location (filepath)
Replies: 3
Views: 792

Re: substack location (filepath)

Thanks. Very helpful. Now LiveCloud support is telling me they believe the essential problem is their use of filename when they should have used effective filename in their initialization script for the database toolkit. Will be fixed in the next release, and obviously an easy fix to make for oneself.
by slindstrom
Thu Jun 27, 2019 12:18 am
Forum: Talking LiveCode
Topic: substack location (filepath)
Replies: 3
Views: 792

substack location (filepath)

Perhaps my question belongs in the Databases forum but I'll try here first. I'm working on a project to convert an existing app from a tool for managing data in a MySQL database to a tool for managing data in the new LiveCloud database product. I've asked LiveCloud support for help on the following ...
by slindstrom
Wed Mar 06, 2019 6:22 pm
Forum: Talking LiveCode
Topic: simple regex replacetext question
Replies: 7
Views: 1288

Re: simple regex replacetext question

Thanks, Thierry! Both work with my data.
by slindstrom
Wed Mar 06, 2019 12:27 am
Forum: Talking LiveCode
Topic: simple regex replacetext question
Replies: 7
Views: 1288

simple regex replacetext question

At least I think it's simple, though I've not figured out the syntax. How should I modify the following so that it works even if the contents of the table tag has a line break and sequence of spaces at the start of the second line? I've tried searching this forum but inevitably find discussions that...
by slindstrom
Fri Feb 24, 2017 1:10 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: faster check than offset(x,variable)?
Replies: 3
Views: 958

Re: faster check than offset(x,variable)?

Thank you, Jean-Marc. Great info to have but now I'm thinking there is simply something wrong with this stack. I ran a test using "repeat for each" on 194 lines of data. It took a couple minutes. Normally even with "repeat with" it should run through a short list like that in the blink of an eye. I'...
by slindstrom
Thu Feb 23, 2017 10:21 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: faster check than offset(x,variable)?
Replies: 3
Views: 958

faster check than offset(x,variable)?

I'm not a complete beginner but hope this is a simple question. I have a script that checks whether each line in a variable (nuData) containing tab-delimited data is present or not in another variable (oldData) that also contains lines of tab-delimited records. If the record appears in both variable...
by slindstrom
Mon Jan 23, 2017 11:52 pm
Forum: Mac OS
Topic: filepath differences IDE vs standalone
Replies: 5
Views: 2416

Re: filepath differences IDE vs standalone

Thanks, Paul, Klaus & Tom for your suggestions. I will try Paul's code that varies based on whether the app is working in the IDE or as a standalone. Klaus, your tip on specialFolderPath sounds like the ticket in theory. In practice, here's what I get. specialFolderPath when called in the IDE provid...
by slindstrom
Sat Jan 21, 2017 1:59 am
Forum: Mac OS
Topic: filepath differences IDE vs standalone
Replies: 5
Views: 2416

filepath differences IDE vs standalone

It seems a lot has changed in LC 8.x. Possible these changes occurred earlier but here is my current issue. I need the app to read and write to a couple of folders which will be inside the same folder as the app. This was all pretty simple in earlier versions of LC. I want the user to be able to pla...
by slindstrom
Sat Jan 21, 2017 12:30 am
Forum: Mac OS
Topic: where are .livecodescript files?
Replies: 9
Views: 3032

Re: where are .livecodescript files?

Thank you, thank you, Jacque! That did the trick. I don't know how the ask and answer dialogs got included as substacks in the first place. They suddenly appeared there the first time I tried to save the app as an 8.x standalone.

Sieg
by slindstrom
Tue Jan 17, 2017 8:32 pm
Forum: Mac OS
Topic: where are .livecodescript files?
Replies: 9
Views: 3032

Re: where are .livecodescript files?

Jacque, thank you. As best I can tell, image ID 210092 has something to do with the ask and answer dialogs. See screen shot, which shows what I find when I search for it and also the stacks included in my app in standalone settings. The confusing thing for me, a rank amateur for sure, is that in the...

Go to advanced search