Re: What is "Open Language"?

2015-10-26 Thread gcanyon
I wrote something like this about a dozen years ago: a script pre-processor that worked with the script editor to store the pre-processed script as a custom property for use later. I remember implementing default values for parameters like so: on someHandler paramOne=27, paramTwo=13 Which wou

Re: garbage collection run amok again in 7.1.1Rc2?

2015-11-05 Thread gcanyon
I am always in for this. gc gc > On Nov 5, 2015, at 4:01 PM, J. Landman Gay wrote: > > It would be an interesting challenge if Richard could supply a sample of a > long handler and see if we could reduce it. ___ use-livecode mailing list use-livec

Re: Android stats

2012-02-06 Thread gcanyon+rev
One thing that stands out (which has been mentioned in previous articles numerous times) is how far behind most Android-based phones are on their OS updates. Three-fourths of android phones are two major versions behind. The main fault lies with the carriers, who customize Android and don't both

Re: Math problem

2012-02-18 Thread gcanyon+rev
I'm curious what you think of this, which is what I try to do regularly when I create one-liners (which I favor). function roundUp x,i -- rounds x up to the next i On Feb 18, 2012, at 11:23 AM, Joe Lewis Wilkins wrote: > If you're going to use one liners like this, you'd better add some comme

Re: Recreating a binary stack from xml text

2012-02-18 Thread gcanyon+rev
http://www.inspiredlogic.com/mc/ripper.html I created mcRipper oh so many years ago. MC = MetaCard gives you some idea how long ago. As I recall it handled just about everything, but I haven't touched it in over ten years. Anyone is free to take a look and laugh at my code. Sent from my iPad

Re: How to use an array to solve the following...

2012-02-19 Thread gcanyon+rev
On Feb 19, 2012, at 8:47 PM, Kay C Lan wrote: > I'm sure others will now improve on that. I doubt it. You're using repeat for each in a sensible way, and there's rarely something faster than that. If you really wanted to tighten up the repeat, you could do something like this, but I doubt tha

Re: How to use an array to solve the following...

2012-02-20 Thread gcanyon+rev
On Feb 19, 2012, at 10:42 PM, dunb...@aol.com wrote: > Kay's is much faster than mine. Don't worry about it, it happens to just about every person who's had experience with HyperCard when they come over to LiveCode: the "repeat for each" aha! moment: any time you find yourself writing: repeat

Re: Recreating a binary stack from xml text

2012-02-20 Thread gcanyon+rev
Agreed that a full implementation would be better; I'm just saying that, compared to the present setup, where there is no source control whatsoever, a system that at least allowed merging code in a controlled fashion would be a huge improvement. I would hope we can do better than card-level lo

Re: Recreating a binary stack from xml text

2012-02-22 Thread gcanyon+rev
That sounds brittle -- or in practice does it Just Work? Sent from my iPad On Feb 21, 2012, at 4:36 PM, Mark Wieder wrote: > Geoff Canyon Rev writes: > >> I'm looking at the docs for Eclipse and I see "safe rename." Is that what >> you're talking about? Out of curiosity does it mean that when

Re: some thoughts on version 9.0.0

2018-04-19 Thread gcanyon via use-livecode
Self-promotion: Navigator's script menu displays all the behaviors, and the handlers in them, of an object. The theoretical limit is 100,000 stacked behaviors, but I suspect the menu system would break before reaching that limit. You need to