Re: Counting problem

2013-05-25 Thread Jacques Hausser
Craig, A way to have the second script working correctly (sum on the counter array = 10) is to declare and fill the counter explicitly before using it; my version: on mouseup put "a,b,c,d,e,f,g,h,i,j" into temp repeat with i = 1 to 10 put 0 into tcount[item i of temp] end repeat

Re: Counting problem

2013-05-25 Thread Dar Scott
I thought about this when I thought the problem was just picking a random answer. I made a simple sorting function and I didn't use 'any' because I needed the value and the position. Dar On May 24, 2013, at 4:19 PM, Peter Haworth wrote: > On Fri, May 24, 2013 at 2:56 PM, wrote: > >> get a

Re: Counting problem

2013-05-25 Thread Dar Scott
Putting local tcount at the top of the handler fixes this for me. (Maybe somebody already said that.) This is a scary bug for me. I quit LiveCode after the tests. Dar On May 25, 2013, at 2:44 AM, Jacques Hausser wrote: > Craig, > > A way to have the second script working correct

Re: Counting problem

2013-05-25 Thread Peter Haworth
On Sat, May 25, 2013 at 8:41 AM, Dar Scott wrote: > Putting > > local tcount > > at the top of the handler fixes this for me. (Maybe somebody already said > that.) > > This is a scary bug for me. I quit LiveCode after the tests. > Hi Dar, I just posted that earlier this morning but it

Re: Counting problem

2013-05-25 Thread Jacques Hausser
Perhaps even stranger: if you start for example with put "a,b,c,d,e,f,g,h,i,j" into temp put 0 into tcount delete variable tcount repeat 10 add 1 to tcount[any item of temp] end repeat the loop works fine, even if the variable tcount was not defined as an array and was deleted before the loo

thinking through parsing multi-line database commands with cr in the data

2013-05-25 Thread Dr. Hawkins
I'm still kind of thinking aloud on this, and don't want to shoot my foot clean off. I'm developing with the ipad version in mind for the future, too. My preferred db will be postgres, with mysql as an alternate (if I don't keep tripping across it's "whoops!"s). However, for performance reasons

message too big (was Re: Counting problem)

2013-05-25 Thread Dar Scott
On May 25, 2013, at 10:30 AM, Peter Haworth wrote: > I just posted that earlier this morning but it caught in the dreaded > "message too big" trap - I sure wish that limit would be increased. I suspect the size assessment is before stripping the formatted version of the email. Maybe converting

Installing 6.0.2 OSS

2013-05-25 Thread Richmond
I have just installed LC 6.0.2 OSS on Ubuntu 8.04.3 "So what?" I hear you say. Because that Ubuntu 8.04 was running on a Pentium III with 256 MB RAM. "So what? How long is Richmond going to wibble on in this vein?" A LONG TIME Because the Open Source Version of Livecode is all about empowering

Re: Installing 6.0.2 OSS

2013-05-25 Thread stephen barncard
In other words --- Richmond is VERY VERY happy about Livecode today. On Sat, May 25, 2013 at 12:09 PM, Richmond wrote: > I have just installed LC 6.0.2 OSS on Ubuntu 8.04.3 > > "So what?" I hear you say. > > Because that Ubuntu 8.04 was running on a Pentium III > with 256 MB RAM. > > "So what? H

Re: Installing 6.0.2 OSS

2013-05-25 Thread Richmond
On 05/25/2013 10:21 PM, stephen barncard wrote: In other words --- Richmond is VERY VERY happy about Livecode today. Indeed! And so should loads and loads of teachers and would-be programmers round the world. Do the Maths: Tatty old computer = $20 Old monitor (Res 1024 x 768) = $20 Keybo

Re: message too big (was Re: Counting problem)

2013-05-25 Thread dunbarx
The problem is definitely colorized and formatted text taken directly from the script editor. I have a utility that I keep open doing just what Dar said. I push F12, and a script runs that takes each char tChar in the clipboardData and replaces it with numToChar(charToNum(tChar)). If I forg

Re: message too big (was Re: Counting problem)

2013-05-25 Thread stephen barncard
hmm.. I've seen my formatted text come back with colors before (at least shows on Gmail) *ON* applyStoredArrayToLocal *get* returnPrefFileName() *set* the custompropertyset of stack it To "Letters" *put* the cDataA of stack it into gDataA *END* applyStoredArrayToLocal th

Dictionary woes

2013-05-25 Thread Richmond
Everybody should be really glad that the dictionary problem that occurred with 6.0.1 seems to have been sorted out. Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your su

Re: message too big (was Re: Counting problem)

2013-05-25 Thread Colin Holgate
I use Mail, and it has a Make Plain Text option. I needed to use that when posting a script a few days ago, to get it under the message size limit. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscrib

Re: message too big (was Re: Counting problem)

2013-05-25 Thread stephen barncard
perhaps the limits should be upped just a little bit to accommodate the bulky html baggage. 32k would be perfect. On Sat, May 25, 2013 at 12:46 PM, Colin Holgate wrote: > I use Mail, and it has a Make Plain Text option. I needed to use that when > posting a script a few days ago, to get it unde

Re: message too big (was Re: Counting problem)

2013-05-25 Thread Peter Haworth
I recognize there needs to be a limit but I think 16k is a little antiquated these days, 32k would be better. Pete lcSQL Software On Sat, May 25, 2013 at 12:51 PM, stephen barncard < stephenrevoluti...@barncard.com> wrote: > perhaps the limits should be upped just a littl

Re: message too big (was Re: Counting problem)

2013-05-25 Thread J. Landman Gay
On 5/25/13 2:36 PM, stephen barncard wrote: hmm.. I've seen my formatted text come back with colors before (at least shows on Gmail) *ON* applyStoredArrayToLocal *get* returnPrefFileName() *set* the custompropertyset of stack it To "Letters" *put* the cDataA of stack i

Re: message too big (was Re: Counting problem)

2013-05-25 Thread J. Landman Gay
On 5/25/13 2:31 PM, dunb...@aol.com wrote: I have a utility that I keep open doing just what Dar said. I push F12, and a script runs that takes each char tChar in the clipboardData and replaces it with numToChar(charToNum(tChar)). It might be quicker to just get the clipboardData["text"]. --

Re: 1001 things to do with LiveCode

2013-05-25 Thread Peter W A Wood
Hi Al I don't have any formal guidelines. Well I didn't until you asked: 1. The app/stack should show how LiveCode has been used to do something useful for the author or users. (This really rules out IDE plug-ins and Library stacks). 2. There should be a screenshot of the app. 3. Some notes a

Re: Escaping the Filter command's wildcards

2013-05-25 Thread Jeanne A. E. DeVoto
At 6:30 PM -0700 5/22/2013, Peter Haworth wrote: I do find it strange that filter doesn't support full regexp syntax, seems like RunRev would have had to write special code instead of using standard regexp libraries which they use in other commands It was never supposed to be a regex command at

Re: Installing 6.0.2 OSS

2013-05-25 Thread Peter W A Wood
Richmond You're absolutely right. It is indeed very good news for teachers and would-be programmers. But how do they find out about it? It would be great if you could share your knowledge and experience especially with the teachers you have in mind. How about writing some blog articles to shar

Re: Escaping the Filter command's wildcards

2013-05-25 Thread Peter Haworth
Well it sounds like it will support full rgexp in the near future courtesy of Jan Schenkel and OSS. Pete lcSQL Software On Sat, May 25, 2013 at 4:46 PM, Jeanne A. E. DeVoto < revolut...@jaedworks.com> wrote: > At 6:30 PM -0700 5/22/2013, Peter Haworth wrote: > >> I do fin