Hi Bernd,
That's great - thanks for the tips!
Best,
Keith..
Search found 108 matches
- Fri Jul 02, 2010 9:01 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: What to return when there is no return?
- Replies: 4
- Views: 2632
- Thu Jul 01, 2010 2:10 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: What to return when there is no return?
- Replies: 4
- Views: 2632
Re: What to return when there is no return?
Hi Bernd, Thanks for responding and clarifying the difference between a called function and called command, which is really useful to know. My library has two distinct types of method that seem to fall into your function and command categories: 1. Functions: I would use these, returning a 'finished'...
- Thu Jul 01, 2010 1:07 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: What to return when there is no return?
- Replies: 4
- Views: 2632
What to return when there is no return?
Hi folks, If building a library function that doesn't return a specific response to a calling script - for example, where the function updates a custom property - is there any best practice concerning what should be returned to the calling script to indicate the function's completion and hence, prev...
- Mon Jun 28, 2010 5:17 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Creating variable/custom property names via scripts
- Replies: 5
- Views: 3437
Re: Creating variable/custom property names via scripts
Hi Bernd, I followed your previous thread and now have an array with the full, raw XMLText call responses, mapped against calling string keys. When I called the array keys back out to test it was clear that they were in no apparent order! :D Yes, your latest response is a little more challenging - t...
- Mon Jun 28, 2010 9:07 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Creating variable/custom property names via scripts
- Replies: 5
- Views: 3437
Re: Creating variable/custom property names via scripts
Hi Bernd, Thanks for another piece of enlightenment! :D I was definitely going down the wrong path and you are spot-on with the use of arrays. Coming from a non-development background, I didn't really understand the difference between an array and a list of delimited items but thanks to your explana...
- Sun Jun 27, 2010 5:30 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Creating variable/custom property names via scripts
- Replies: 5
- Views: 3437
Re: Creating variable/custom property names via scripts
...and I forgot to mention that the reason I need to create the names "Fred", etc on the fly, is because this list is the result of another SOAP call - so I don't know how many names are involved (and I need to manage changes in the list of names - hence the persistence of custom properties). Best, ...
- Sun Jun 27, 2010 5:27 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Creating variable/custom property names via scripts
- Replies: 5
- Views: 3437
Creating variable/custom property names via scripts
Hi folks, Is it possible to create variables and/or custom properties 'on the fly', through scripting - or do all variables have to be declared in advance? I want to convert a list (of unknown length) with lines containing 2 items: thing & notes... Fred, "notes about Fred' John, "Notes about John' K...
- Sun Jun 27, 2010 10:41 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Counting delimiter characters in a string
- Replies: 13
- Views: 7889
Re: Counting delimiter characters in a string
Bernd,
Thanks for the steer re chunks within chunks.
Best,
Keith..
Thanks for the steer re chunks within chunks.
Best,
Keith..
- Sat Jun 26, 2010 10:55 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Counting delimiter characters in a string
- Replies: 13
- Views: 7889
Re: Counting delimiter characters in a string
Jean-Marc, Thanks for the response and the script. Bernd's suggestion of items has solved my initial requirement - to find the commas that I'd added to a revXMLTree extract to identify levels of encapsulation. On the more general requirement - needing to count the instances of a character or string ...
- Sat Jun 26, 2010 7:10 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Counting delimiter characters in a string
- Replies: 13
- Views: 7889
Re: Counting delimiter characters in a string
Hi Bernd,
Many thanks, once again for reframing the question into one that has an obvious answer - count the items not the commas!
Who was it that said it isn't the notes that make the music but the gaps in between. (That was a rhetorical question that you don't need to answer!)
Best,
Keith..
Many thanks, once again for reframing the question into one that has an obvious answer - count the items not the commas!
Who was it that said it isn't the notes that make the music but the gaps in between. (That was a rhetorical question that you don't need to answer!)
Best,
Keith..
- Sat Jun 26, 2010 5:59 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Counting delimiter characters in a string
- Replies: 13
- Views: 7889
Counting delimiter characters in a string
Hi folks, Can some kind soul please point me to the mechanism that lets me count the number of instances of a specific string or character - such as a comma - in a string of text.
Thanks,
Keith..
Thanks,
Keith..
- Sat Jun 26, 2010 5:55 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: What is preventing me from copying text from a field?
- Replies: 12
- Views: 5660
Re: What is preventing me from copying text from a field?
Hi Mike, Nothing obvious seems to be setting the stack to make new fields locked, so having discussed the issue with support I've created a new main stack, transferred all my app across and will keep the old dodgy stack for reference, should the issue repeat.
Best,
Keith..
Best,
Keith..
- Thu Jun 24, 2010 3:04 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Setting Custom Property syntax
- Replies: 3
- Views: 2569
Re: Setting Custom Property syntax
Ah, thanks for the responses and enlightenment, gentlemen. I now see how set properties ≠ setProp!
I must improve my search strings!
Best,
Keith..
I must improve my search strings!
Best,
Keith..
- Thu Jun 24, 2010 1:26 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Setting Custom Property syntax
- Replies: 3
- Views: 2569
Setting Custom Property syntax
Hi Folks, I'm building out some preferences on a card and want to use custom properties for persistence. I'm trying to understand Revolution's checkbox and custom property set/get syntax and would appreciate a simple example of how a card custom property can be set to reflect the hilite/non-hilite s...
- Wed Jun 23, 2010 9:27 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Is it possible to move cards between stacks?
- Replies: 4
- Views: 3274
Re: Is it possible to move cards between stacks?
Thanks dunbarx but I think the issue is the main stack, as it's locking the text of any new fields on any new cards on the main or sub-stack - as per this post http://forums.runrev.com/phpBB2/viewtop ... f=8&t=5487