Search found 197 matches

by edgore
Tue Aug 27, 2013 4:39 pm
Forum: Feature Requests
Topic: More regex examples in documentation
Replies: 5
Views: 2017

Re: More regex examples in documentation

That's a great suggestion about using a test/validator site - I have been doing that for SQL, but it never occurred to me to look for one for regex.

Looking around I have also run across this - http://txt2re.com which is a regex generator that might be useful for some.
by edgore
Mon Aug 26, 2013 7:22 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: more than one action for if else
Replies: 8
Views: 2155

Re: more than one action for if else

I keep forgetting that "else if - then" is available in Livecode because it's so much less readable than switch.
by edgore
Mon Aug 26, 2013 5:30 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: more than one action for if else
Replies: 8
Views: 2155

Re: more than one action for if else

Worse - replying in one window, doing email in another window, and working on a script in another window. While on the phone.
by edgore
Mon Aug 26, 2013 4:01 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: more than one action for if else
Replies: 8
Views: 2155

Re: more than one action for if else

The formatting is done automatically by the IDE, but it has no effect on the code - if it weren't indented it would still work. The important thing here is that an if statement is Livecode is If *condition* then do some stuff, could be multiple lines of code, could even have more if/thens within it ...
by edgore
Mon Aug 26, 2013 3:51 pm
Forum: Feature Requests
Topic: More regex examples in documentation
Replies: 5
Views: 2017

Re: More regex examples in documentation

I seem to run into problems when I have to escape special characters - that is what I would like to see some livecode examples of - the examples that are in the dictionary today are very basic. I know...I should probably write my regex in a text file and merge it into a variable and use that, but it...
by edgore
Thu Aug 22, 2013 5:51 pm
Forum: Feature Requests
Topic: FR - Deploy "Web Apps" html5
Replies: 19
Views: 6248

Re: FR - Deploy "Web Apps" html5

I would also encourage you to look into the server engine as well - you can do some amazing things using the livecode engine on the backend, processing livecode scripts, and outputting HTML to the browser. This could work especially well if you are mostly working with text, as opposed to graphics. I...
by edgore
Tue Aug 13, 2013 6:37 pm
Forum: Engine Contributors
Topic: List Object
Replies: 2
Views: 1187

List Object

In the Number of Items discussion (http://forums.runrev.com/viewtopic.php?f=66&t=16383) runrevmark mentioned that they are working on a list object of some kind for future implementation. Since so much of what I do is dealing with lists of multiple items on multiple lines I am curious to find out mo...
by edgore
Mon Aug 12, 2013 1:28 pm
Forum: Feature Requests
Topic: Feature Suggestions with voting system
Replies: 17
Views: 4507

Re: Feature Suggestions with voting system

Don't forget that moving to open source did more than just make the free community version available, it also opened up the source code to modification by anyone skilled enough to do so. You no longer have to convince RunRev to add a feature, you can convince *anyone* to and if it works well you can...
by edgore
Wed Aug 07, 2013 12:03 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: The opposite of intersect array?
Replies: 4
Views: 1129

Re: The opposite of intersect array?

Yep - that works, and it's very fast! I had run into so many problems with the other "for each" based methods (they were all very slow) that it would never have occurred to me that deleting keys was a very fast option! Have to remember from now on - try every array based way you can of doing somethi...
by edgore
Wed Aug 07, 2013 1:35 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: The opposite of intersect array?
Replies: 4
Views: 1129

Re: The opposite of intersect array?

Here is an example I have one with one item per line (currently they are all numbers, but that might not always be true in the future. Let's say the list is: 1234567 1234568 1234569 1234560 1234561 I have another list that contains, say: 1234567,value one,123-1234 1234568,value two,345-4567 1234569,...
by edgore
Tue Aug 06, 2013 3:37 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: The opposite of intersect array?
Replies: 4
Views: 1129

The opposite of intersect array?

I am trying to figure out how to get a list of items that are in one list, but not in another list. Since I am dealing with a very long lists going through and checking each line and matching things up is very time consuming, and I am trying to find a faster way. What I really want is something that...
by edgore
Sun Aug 04, 2013 7:10 pm
Forum: CGIs and the Server
Topic: Techniques for Developing for Server
Replies: 8
Views: 5431

Re: Techniques for Developing for Server

When you are developing on the desktop for eventually deploying on the server it's very easy to remember to get rid of the on mouseUp and end mouseUp at the beginning of your desktop development handler and replace them with <!lc and !> that are needed on the server. However, don't forget that if yo...
by edgore
Fri Aug 02, 2013 6:40 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Faster way to remove duplicate lines?
Replies: 28
Views: 7720

Re: Faster way to remove duplicate lines?

Interesting - I wonder if that means that the sensitivity in split/combine is a bug...
by edgore
Fri Aug 02, 2013 6:01 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Faster way to remove duplicate lines?
Replies: 28
Views: 7720

Re: Faster way to remove duplicate lines?

Oh, I had not realized that it did that - neat! I just tried it in the sample stack I uploaded and sure enough changing Gregor to gregor in one line results in it not being deleted as a duplicate. For what I am doing though, that's actually a bug :). So, it looks like we have two good solutions: The...
by edgore
Fri Aug 02, 2013 4:25 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Faster way to remove duplicate lines?
Replies: 28
Views: 7720

Re: Faster way to remove duplicate lines?

@Sri, you are right, it just took me a while to figure out what he is doing. Basically he's adding "1" to an existing array (created earlier in the script), to an element with the key "whatever the line of the list you are processing is". This creates a new key with the value of the line, and adds 1...

Go to advanced search