Search found 30 matches

by heyvern
Wed May 12, 2010 9:32 pm
Forum: Off-Topic
Topic: Will RunRev be Allowed for iPhone/iPad?
Replies: 72
Views: 66013

Re: Will RunRev be Allowed for iPhone/iPad?

This is all very confusing to me. (My statement below is in regards to the blog post offering changes to Revmobile to comply with Apple's requirements.) So, basically there would be no way to tell the difference between a so called "native" iPhone app and one developed with runrev? I don't see how t...
by heyvern
Sun May 09, 2010 9:39 am
Forum: Off-Topic
Topic: Will RunRev be Allowed for iPhone/iPad?
Replies: 72
Views: 66013

Re: Will RunRev be Allowed for iPhone/iPad?

I have always been a huge fan of Apple, defending their sometimes odd decisions and dispelling myths and misinformation. I loved the platform, loved the company. I always recommended Apple products when asked for advice on what computer to buy. I still have my first Mac, a IIci and it works. All of ...
by heyvern
Thu Mar 18, 2010 8:37 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How to scale grouped polygons?
Replies: 2
Views: 2564

How to scale grouped polygons?

I found I can import and translate vector graphics from another file format and use that as a thumbnail for a project manager application I am creating. So basically the original application is a vector based animation program. I can read in the files and extract the vector data, convert it to RR "p...
by heyvern
Sat Mar 13, 2010 11:09 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Search returns total number of matches?
Replies: 1
Views: 2360

Search returns total number of matches?

Is there a search or "Match" that can return the total number of matches in a chunk or string? For example, finding the total number of tabs in string? The only way I see is to change the itemDel and count the items: put tab&tab&tab&tab into myVar -- just for this explanation. That isn't how the tab...
by heyvern
Fri Mar 12, 2010 9:53 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Array with nested items?
Replies: 2
Views: 3792

Re: Array with nested items?

Thanks for the info. The trouble I'm having is how to check for the parent levels and sub levels doing a "repeat for each line" loop. I can figure out how to tag each layer but can't figure out how to determine if a layer is inside a group or the parent of a group for inclusion in the array or delim...
by heyvern
Fri Mar 12, 2010 6:26 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Array with nested items?
Replies: 2
Views: 3792

Array with nested items?

Stuck again. I am reading in a file format that has "layers" and can have layers with in layers. Nested layers. Only certain types of layers can be nested and I have the ability to check for that during my repeat when reading in the layers. Layers are enclosed with "{ }" brackets. I have a great fun...
by heyvern
Fri Mar 12, 2010 5:37 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Array index - any tricks for using numbers or strings?
Replies: 7
Views: 6347

Re: Array index - any tricks for using numbers or strings?

Yeehaa! Great solution AND a stack to go with it. ;) you made it look so easy. The code is so simple. My current solution was similar but had like 3 times the code. You are right about the array. The data set is way too small to actually benefit from a full blown cross dimensional array. Using "repe...
by heyvern
Thu Mar 11, 2010 4:32 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Array index - any tricks for using numbers or strings?
Replies: 7
Views: 6347

Array index - any tricks for using numbers or strings?

I am creating an application in RR that reads another application file format. I have a global variable array that contains a one word string and is indexed by a number value. Each item is used in my application might need to be looked up as either a word or a number. Unfortunately RR can't use the ...
by heyvern
Wed Mar 10, 2010 8:39 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Declaring global variables/functions - use in many scripts
Replies: 9
Views: 8282

Re: Declaring global variables/functions - use in many scripts

Great info FW. I especially like the idea of changing the "store" to a database. The application I am creating is for project management for another application file format that doesn't have project management. I hope to be able to create an "online collaboration" server type project management usin...
by heyvern
Wed Mar 10, 2010 8:30 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Strange results with "if string contains"
Replies: 5
Views: 3975

Re: Strange results with "if string contains"

It could be there was something odd with my string that I "fixed" accidentally, but it was incorrect with the trailing return, and correct when I removed it. The source data is very "precise". No extra spaces, everything indented with tabs. However it is possible there are extra returns. I am at tha...
by heyvern
Wed Mar 10, 2010 4:47 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: using variables as references?
Replies: 6
Views: 4477

Re: using variables as references?

I have been using "repeat for each" and "put after myNewVar" without any crashes. Yes the speed difference is AMAZING. I couldn't have created my current application with OUT "repeat for each". The difference in speed is incalculable. With the "old slow" way it took up to 15-20 minutes to open and p...
by heyvern
Wed Mar 10, 2010 4:39 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Declaring global variables/functions - use in many scripts
Replies: 9
Views: 8282

Re: Declaring global variables/functions - use in many scripts

Cool! I just googled "accessors" and found something regarding programming in java that is pretty much the same for RR as well. So the idea is to create classes/properties for the "objects" and use "get" to retrieve them. As you say they are "separate" from the "code". You don't have to use a bunch ...
by heyvern
Wed Mar 10, 2010 1:11 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Strange results with "if string contains"
Replies: 5
Views: 3975

Re: Strange results with "if string contains"

You are a genius! :) That was it. I did a copy and paste for each line to insert the freaking words into my global variable and forgot to delete the "& return" on the last item!!!! Dang extra return. Odd though. I thought doing "for each line k" wouldn't have a return that matches but apparently it ...
by heyvern
Tue Mar 09, 2010 12:13 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Strange results with "if string contains"
Replies: 5
Views: 3975

Strange results with "if string contains"

I have a list of strings separated by returns. In a custom function I loop through each line comparing a string to the lines which contain one word each. Here is the value in my global variable that is giving me a false true value: "scale>" The string that is compared to this value that returns an i...
by heyvern
Mon Mar 08, 2010 8:11 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Declaring global variables/functions - use in many scripts
Replies: 9
Views: 8282

Re: Declaring global variables/functions - use in many scripts

Figured it out. If you create NEW global variables or change the openScript or openCardhandler after the file is already opened (and those handlers have fired off already) then the changes aren't activated. So it appears that the openCard, openScript handlers are not fired when using the "disable de...