Re: Explicit Variables again

2012-10-19 Thread J. Landman Gay
On 10/19/12 7:41 PM, Peter Haworth wrote: By the way, what are the shortcuts for commenting? I haven't come across them. Cmd-hyphen to comment, Cmd-Shift-hyphen to uncomment. It affects whatever line the cursor is in; if you select multiple lines they are all affected. It's in the Edit me

Re: Explicit Variables again

2012-10-19 Thread Peter Haworth
Thanks Jacque, I plan to give this a whirl. This seems to have usefulness whether explicit vars are in force or not. By the way, what are the shortcuts for commenting? I haven't come across them. Having stirred up a hornet's nest with this issue, I think I will refrain form starting another st

Re: Explicit Variables again

2012-10-19 Thread J. Landman Gay
On 10/19/12 5:41 PM, Peter M. Brigham wrote: For those who are interested here is my version (slightly altered from yours, Jacque). They are all control-shift keypresses that work only in the IDE script editor. Actually, heavily modified. :) Here's mine for comparison. It uses the command key

Re: Explicit Variables again

2012-10-19 Thread J. Landman Gay
On 10/19/12 6:11 PM, Peter Haworth wrote: Peter, You got it! Thanks for the script also (and Jacque). I have to admit I'm not entirely sure of all the benefits of it but I'm sure they'll come though when I give it a try. Mine is much simpler than the one Peter posted, he's added some stuff.

Re: Explicit Variables again

2012-10-19 Thread Peter Haworth
Peter, You got it! Thanks for the script also (and Jacque). I have to admit I'm not entirely sure of all the benefits of it but I'm sure they'll come though when I give it a try. Pete lcSQL Software On Fri, Oct 19, 2012 at 3:44 PM, Peter M. Brigham wrote: > On Oct 19,

Re: Explicit Variables again

2012-10-19 Thread Peter M. Brigham
On Oct 19, 2012, at 12:59 PM, Peter Haworth wrote: > Sounds like this is turning into a "There are 2 types of Livecode coders, > those who..." situation! as in "there are 10 kinds of people, those who understand binary, and those who don't." or how about "there are 3 kinds of people, those who

Re: Explicit Variables again

2012-10-19 Thread Peter M. Brigham
On Oct 19, 2012, at 2:00 PM, J. Landman Gay wrote: > Typos are almost never a problem for me. I only type variable names once when > I first write them. I have a custom frontscript that includes a whole lot of > handy things, one of which is the ability to insert or replace the selection > with

RE: Explicit Variables again

2012-10-19 Thread Ralph DiMola
I have always used explicit variable checking since the first language that had the option. I make spelling errors now and again this has saved me more than a few times. I like that repeat loops vars do not have be declared. This make the top of the code cleaner. I agree that cleaner and leaner the

Re: Explicit Variables again

2012-10-19 Thread Peter Haworth
Richard, Thanks for the explanation and QCC request to document it. Hopefully they documentation update will include the msgChanged message too. Pete lcSQL Software On Fri, Oct 19, 2012 at 10:25 AM, Richard Gaskin wrote: > Peter Haworth wrote: > > messageBoxRedirect?

Re: Explicit Variables again

2012-10-19 Thread Ben Rubinstein
On 18/10/2012 19:45, Richard Gaskin wrote: IIRC, explicitvars were seen as too cumbersome to work with, since as a truly global property the required that EVERYTHING you're using comply with it, and too many plugins didn't. I don't think the problem was with plugins, so much as the basic IDE.

Re: Explicit Variables again

2012-10-19 Thread Ben Rubinstein
On 18/10/2012 21:46, J. Landman Gay wrote: On 10/18/12 3:20 PM, Peter Haworth wrote: I certainly don't want to force anyone except me into using explicit vars, or strict compile mode, or whatever the correct term is, but I do want to use them when developing on my computer. I'm still trying t

Re: Explicit Variables again

2012-10-19 Thread J. Landman Gay
On 10/19/12 11:41 AM, Richard Gaskin wrote: If I also take the time to declare every variable (or, as we've seen, most variables, since apparently not all require declaration under explicitVars), that's just extra stuff to revise while I'm also revising code. So I can see how it would be a benef

Re: Explicit Variables again

2012-10-19 Thread Mark Wieder
Peter Haworth writes: > Sounds like this is turning into a "There are 2 types of Livecode coders, > those who..." situation! It was ever thus. Nothing wrong with that. I understand the arguments about it being too much typing, especially if you never make mistakes. But given half a chance I'll a

Re: Explicit Variables again

2012-10-19 Thread Mark Wieder
Richard Gaskin writes: > I agree with everything you wrote, but I still don't do it. :) LOL. > I think it's just a question of work style. Yep. And far be it from me to get in the way of what makes you productive. For my part, forcing explicitVars true makes me more productive down the road at

Re: Explicit Variables again

2012-10-19 Thread Richard Gaskin
Peter Haworth wrote: messageBoxRedirect? I can find no mention of that in the dictionary. What does it do? I look forward to seeing your message box replacement Richard. I have that as a future enhancement to my lcStackBrowser plugin but sounds like you may have saved me the trouble! My ba

Re: Explicit Variables again

2012-10-19 Thread Peter Haworth
That explains a lot, thanks Richard. I admit I had not been understanding your posts but I think this clarifies it. I assume this is what happened when explicit variables were first implemented but that now the situatio is as you described in your email with the script of the "Apply" process. Pet

Re: Explicit Variables again

2012-10-19 Thread Peter Haworth
messageBoxRedirect? I can find no mention of that in the dictionary. What does it do? I look forward to seeing your message box replacement Richard. I have that as a future enhancement to my lcStackBrowser plugin but sounds like you may have saved me the trouble! Pete lcSQL Software

Re: Explicit Variables again

2012-10-19 Thread Peter Haworth
Sounds like this is turning into a "There are 2 types of Livecode coders, those who..." situation! Marks' comment below hit the nail on the head for me. All I can say is that when I converted my first stack to use explicit variables, it turned up a couple of nasty bugs lurking in seldom used part

My poll for externals: the "punchline"

2012-10-19 Thread Klaus on-rev
Hi friends, looks like noone really gets "the point" of my poll, so please let me try to explain. There are very few externals for the desktop. I really would love to see these externals made available to the Liveocde community. They will NOT be made abvailable if my poll will only result a han

Re: Explicit Variables again

2012-10-19 Thread Richard Gaskin
Mark Wieder wrote: Look, as a qa engineer let me state the truism that the earlier in the development process you can find bugs, the cheaper it is to fix them. The idea of enforcing explicit variable declarations is to catch some bugs at compile time rather then waiting for them to appear at run

Re: Poll/Ann: Desktop Video Externals

2012-10-19 Thread Klaus on-rev
Hi Mark, Am 19.10.2012 um 17:54 schrieb Mark Schonewille : > Klaus, do you mean me (quoting would be useful)? You are not alone, so I did not quote anyone! :-) > I can forward my e-mail when I get home in an hour. Yes please, thank you! > -- > Kind regards, > > Mark Schonewille > >> >

Re: Poll/Ann: Desktop Video Externals

2012-10-19 Thread Mark Schonewille
Klaus, do you mean me (quoting would be useful)? I can forward my e-mail when I get home in an hour. -- Kind regards, Mark Schonewille Economy-x-Talk Http://economy-x-talk.com Share the clipboard of your computer over a local network with Clipboard Link http://clipboardlink.economy-x-talk.com

Re: Explicit Variables again

2012-10-19 Thread Mark Wieder
Richard- Friday, October 19, 2012, 7:47:22 AM, you wrote: > I've since added a bunch of shortcuts I use all the time, like listing > globals vars and props, and stack lists, and the message path, and other > stuff, and then I started down the road of implementing a few shell > calls like "ls" an

Re: Poll/Ann: Desktop Video Externals

2012-10-19 Thread Klaus on-rev
Hi friends, Am 17.10.2012 um 14:51 schrieb Klaus on-rev : > Hello friends, is this a problem for you? > ... > If you are intested, please send a mail to: > with "video external" as the subject > and the external you are intested in in the body. Thanks! Best Klaus -- Klaus Major http://www.

Re: Poll/Ann: Desktop Video Externals

2012-10-19 Thread Mark Schonewille
Ok, I reply. I would have had a use for them a few years ago. If you make them available, I might pay 50 euro for an external if a similar project ever comes up again. -- Kind regards, Mark Schonewille Economy-x-Talk Http://economy-x-talk.com Share the clipboard of your computer over a local n

Re: Explicit Variables again

2012-10-19 Thread Mark Wieder
Richard- Friday, October 19, 2012, 7:47:22 AM, you wrote: > "Avoid the pain of Windows 8" I run the Win8 Customer Preview in a VM at work, and while LC mostly works as a desktop app, I reported a couple of bugs that the rev team hasn't been able to reproduce. There's also one *really* annoying o

Re: Help with ampersand in xml

2012-10-19 Thread Mark Wieder
Andre- Friday, October 19, 2012, 7:30:51 AM, you wrote: > Our XML parser is pretty forgiving, it appears that it allows &... who > knows what more it may allow :-D Ah, never mind. I thought the issue was with ampersands and commas and other things in xml tags, not in the data elements. Yes, ther

Re: Poll/Ann: Desktop Video Externals

2012-10-19 Thread Klaus on-rev
Hi friends, Am 17.10.2012 um 14:51 schrieb Klaus on-rev : > ... > 1. XMediaPlayer (WMP) Windows, 116 KB > ... > 2. XMediaPlayer (VLC) Windows, 105 KB, but requires a folder "plugins" = 40 > MB! > ... > 3. XVideoJoiner Mac and Windows, 17 MB > ... only 4 (FOUR) replies so far... :-/ Come on fo

Re: [Half-OT] Free intro eBook about SQL

2012-10-19 Thread François Chaplais
Thanks a lot Andre! That is the kind of complement to the livecode documentation that makes it so much more usable. Very best François Le 19 oct. 2012 à 15:48, Andre Garzia a écrit : > Hi Folks, > > I was browsing reddit when I found this little eBook about SQL aimed at new > users. > >

Re: Explicit Variables again

2012-10-19 Thread Richard Gaskin
Mark Wieder wrote: Richard- Thursday, October 18, 2012, 8:51:46 PM, you wrote: Remember that LiveCode is dynamically compiled - the only copy of a script stored with a stack is the source copy, not any tokenized version. So whenever you open a stack, as part of the unpacking its scripts are

Re: Help with ampersand in xml

2012-10-19 Thread Andre Garzia
On Thu, Oct 18, 2012 at 9:54 PM, Mark Wieder wrote: > Andre- > > Thursday, October 18, 2012, 2:31:25 PM, you wrote: > > > TRICK #1: > > > I replace every ampersand with something like: > > > replace "&" with "#AMPERSAND#" in tXML > > LOL. I use "_AMPERSAND_". > I also replace comma with "_COMMA

Re: Help with ampersand in xml

2012-10-19 Thread Andre Garzia
On Thu, Oct 18, 2012 at 9:54 PM, Mark Wieder wrote: > Andre- > > Thursday, October 18, 2012, 2:31:25 PM, you wrote: > > > TRICK #1: > > > I replace every ampersand with something like: > > > replace "&" with "#AMPERSAND#" in tXML > > LOL. I use "_AMPERSAND_". > I also replace comma with "_COMMA

Re: [Half-OT] Free intro eBook about SQL

2012-10-19 Thread Marian Petrides, MD
Thanks, Andre! Sent from my iPad On Oct 19, 2012, at 8:48 AM, Andre Garzia wrote: > Hi Folks, > > I was browsing reddit when I found this little eBook about SQL aimed at new > users. > > http://www.dreamincode.net/forums/blog/48/entry-4251-my-free-ebook-a-primer-on-sql/ > > It's 42 pages lon

[Half-OT] Free intro eBook about SQL

2012-10-19 Thread Andre Garzia
Hi Folks, I was browsing reddit when I found this little eBook about SQL aimed at new users. http://www.dreamincode.net/forums/blog/48/entry-4251-my-free-ebook-a-primer-on-sql/ It's 42 pages long and it appears to be a good and solid intro to standard SQL. Thought some people here would be inte

LiveCode Mobile Development (Colin Holgate book)

2012-10-19 Thread René Micout
I receveid today the Colin's book (paper version)... I can start my apprenticeship... one regret is that there is no French version ;-) René ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and ma

Re: Help with ampersand in xml

2012-10-19 Thread Dave Cragg
On 18 Oct 2012, at 16:35, Chris Sheffield wrote: > For all you xml experts out there. Hoping someone has the answer for this... > > I need to use an ampersand character (&) in xml. It's in a company name like > Levi Strauss & Co. Everything I can find on the topic says to use the entity > ref