Re: Clearing local variables

2016-04-29 Thread Kay C Lan
On Sat, Apr 30, 2016 at 9:19 AM, Dr. Hawkins wrote: > Exiting an outer loop from within an inner takes > contortions, but figuring out which end is attached to which if or repeat > is time consuming. > > I know you've figured it out but for any noobs reading this and scratching their heads here

Re: Beeing a developer after 40

2016-04-29 Thread Phil Davis
Thank you for telling your story Francis! I can now see my tech beginnings were quite advanced - I began programming on an IBM 360 model 30. Card readers were the only inputs, 32k of memory (2 16k partitions!), a console full of flashing lights, and two external hard drives - floor units, each

Re: Clearing local variables

2016-04-29 Thread Peter Haworth
lcStackbrowser has a feature that adds comments to each end xxx statement identifying it's parent, part of the script assist module. I think named ifs, repeats, etc would be great on the context of being able to exit out of nested instances of those structures to whatever level you want. On Fri,

Re: Clearing local variables

2016-04-29 Thread Dr. Hawkins
On Fri, Apr 29, 2016 at 5:40 PM, Alex Tweedly wrote: > Do you simply want to *see with certainty", or do you want to use these > tags (e.g. for exiting a control structure) ? > > Both, actually. Exiting an outer loop from within an inner takes contortions, but figuring out which end is attached

Re: Clearing local variables

2016-04-29 Thread Alex Tweedly
On 30/04/2016 00:49, Dr. Hawkins wrote: The other thing I desperately want is the ability to tag loops, as in Fortran, so that I can see with certainty which end goes with which repeat or if. Do you simply want to *see with certainty", or do you want to use these tags (e.g. for exiting a contr

Re: Sorting a list/Being a developer after 40

2016-04-29 Thread Peter Bogdanoff
This is a wonderful solution. Thank you! I too have learned a new thing, Ralph! Peter On Apr 29, 2016, at 1:24 PM, Ralph DiMola wrote: > This is why I learn new things. > > sort lines of theList ascending numeric by length(each) ___ use-livecode ma

Re: Clearing local variables

2016-04-29 Thread Dr. Hawkins
On Fri, Apr 29, 2016 at 2:19 PM, Bob Sneidar wrote: > The best place to get C style scoping is to use a C style development > environment. Really. The last thing I want is to make Livecode MORE like > all the dev environments I simply do not have enough life left to master. Given it's nature, i

Re: LC7 Community - Documentation window does not appear

2016-04-29 Thread Richard Gaskin
Alejandro Tejada wrote: > Does exist a LiveCode Plugin that alerts if an open stack window > is not visible or out of the screen rectangle? I'm not familiar with one that alerts, but part of my devolution plugin is a substack called DeskView which provides a small overview of windows. In Desk

Re: LC7 Community - Documentation window does not appear

2016-04-29 Thread Alejandro Tejada
Hi All, Does exist a LiveCode Plugin that alerts if an open stack window is not visible or out of the screen rectangle? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/solved-LC7-Community-Documentation-window-does-not-appear-tp4703919p4703989.html Sent from

Re: Clearing local variables

2016-04-29 Thread Bob Sneidar
The best place to get C style scoping is to use a C style development environment. Really. The last thing I want is to make Livecode MORE like all the dev environments I simply do not have enough life left to master. Bob S On Apr 29, 2016, at 09:25 , Dr. Hawkins mailto:doch...@gmail.com>> wro

RE: Sorting a list/Being a developer after 40

2016-04-29 Thread Ralph DiMola
This is why I learn new things. sort lines of theList ascending numeric by length(each) How many lines of code does this take in C or VB.net? Every time I do something like this in LC I'm glad I took the LC plunge. My 89 year old Mother learned to use her Nook and Laptop. She is glad she took the

RE: Sorting a list

2016-04-29 Thread John Dixon
Very neat ! > Date: Fri, 29 Apr 2016 15:34:05 -0400 > From: p...@researchware.com > To: use-livecode@lists.runrev.com > Subject: Re: Sorting a list > > sort lines of theList ascending numeric by length(each) > > On 4/29/2016 3:25 PM, Peter Bogdanoff wrote: > > I have a list: > > > > acoustics >

Re: Sorting a list

2016-04-29 Thread Paul Dupuis
sort lines of theList ascending numeric by length(each) On 4/29/2016 3:25 PM, Peter Bogdanoff wrote: > I have a list: > > acoustics > acoustic > acoustical > acoustically > > How would I sort this list by the number of characters in each line, least to > most? > > Peter Bogdanoff > UCLA > > > > _

Re: Sorting a list

2016-04-29 Thread RM
http://forums.livecode.com/viewtopic.php?f=9&t=10505 Richmond. On 29.04.2016 22:25, Peter Bogdanoff wrote: acoustics acoustic acoustical acoustically ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, un

Re: Nelly the Elephant

2016-04-29 Thread RM
I installed my latest version of my "Devawriter" font that has a compliment of Grantha glyphs in the Unicode slots allotted for them. Livecode pre-7.0 displays NO warning, it just truncates Unicode numbers over 12536 (Hex 30F8) and then produces the unicode character that is in that numbered s

Sorting a list

2016-04-29 Thread Peter Bogdanoff
I have a list: acoustics acoustic acoustical acoustically How would I sort this list by the number of characters in each line, least to most? Peter Bogdanoff UCLA ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

Re: Nelly the Elephant

2016-04-29 Thread Alejandro Tejada
Hi Richmond, If you do not have a font installed that displays these gliphs, What error message display LiveCode? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Nelly-the-Elephant-tp4703972p4703979.html Sent from the Revolution - User mailing list archive a

Re: Beeing a developer after 40

2016-04-29 Thread dunbarx
I don't feel so old anymore. I thought everyone on this list, going back to the HC list, was a teenager or worse. Shows what cultural influences can do to you. I am only 65. Craig -Original Message- From: Francis Nugent Dixon To: use-livecode Sent: Fri, Apr 29, 2016 1:52 pm Sub

Beeing a developer after 40

2016-04-29 Thread Francis Nugent Dixon
Hi from Beautiful Brittany, It all depends on what you mean by "developer" : 1 - You write apps for your own use ? 2 - You sell your apps for money, or give them away to anyone who wants them ? 3 - You spent several years with a software house developing for them ? 4 - You create apps because you

Multiple find and replaces across a whole, monster stack

2016-04-29 Thread RM
It looks as if I will have to movethe codebase of my Devawriter from Livecode 4.5 to Livecode 7.0 or later to leverage high plane unicode characters. To do this will involve converting all the numToChar stuff to numToCodePoint stuff, and I have no great urge () to do the thousands and thou

Re: Beeing a developer after 40

2016-04-29 Thread Alejandro Tejada
Interesting enough, I am trying to fill the gaps in my programming knowledge. For this, I bought a not too old desktop computer and have set up this computer only for learning programming. Hopefully, finally I will learn how to make DLLs for my older versions of MC and RR. After that, using the m

Re: Clearing local variables

2016-04-29 Thread Dr. Hawkins
On Fri, Apr 29, 2016 at 8:21 AM, Richard Gaskin wrote: > If you find yourself needing to clear variables of a particular scope, > maybe that's reason to consider a narrower scope. > C-style variable scope is near the top of met live code wishlist . . . -- Dr. Richard E. Hawkins, Esq. (702) 50

Re: Clearing local variables

2016-04-29 Thread Mark Waddingham
On 2016-04-29 17:24, Richard Gaskin wrote: In the rare cases where we might want to modify the string being traversed, does the "repeat with i = 1 to..." form still allow that? Yes - you can still modify the string being traversed with repeat for each, but the modifications won't actually affe

Nelly the Elephant

2016-04-29 Thread Richmond
packed her trunk and said goodbye to the circus" The Unicode Consortium's 8th set of specifications puts the Grantha abugida between codePoints Hex 11300 and Hex 11374 (Decimal 70400 - 70516), so when I do this in LiveCode 4.5: set the useUnicode to true set the unicodeText of fld "feeld" to num

Re: Query for valid email

2016-04-29 Thread Skip Kimpel
Overall, it sounds like this may not be a good path to down as the remote server might consider me to be a spammer and I have the potential of getting my IP blocked. Possible but not recommend is my takeaway from this. Thank you everybody for your research and input. SKIP On Fri, Apr 29, 2016 a

Re: Clearing local variables

2016-04-29 Thread Richard Gaskin
Mark Waddingham wrote: > On 2016-04-29 04:30, Kay C Lan wrote: >> Does that mean the 'Important' note in the LC 8 Dictionary entry for >> 'repeat' isn't so Important any more? > > Yes! That note should probably be replaced by one which says you can > modify the target variable in the loop, but it

Re: Clearing local variables

2016-04-29 Thread Richard Gaskin
Bob Sneidar wrote: > Agreed, but then you need to be careful about what any of your > variables contain. :-) This sort of hints at a question I've been wondering throughout this thread: why is this needed? If you find yourself needing to clear variables of a particular scope, maybe that's r

Re: Clearing local variables

2016-04-29 Thread Mark Waddingham
On 2016-04-29 04:30, Kay C Lan wrote: On Thu, Apr 28, 2016 at 11:47 PM, Mark Waddingham wrote: From 7.0 onwards, this causes no problem as the engine takes a 'copy' of the target variable at the start of the loop. (Note you only pay for that copy when you mutate tList subsequently, and tha

Re: Clearing local variables

2016-04-29 Thread Bob Sneidar
Agreed, but then you need to be careful about what any of your variables contain. :-) As for tVar, I wasn't aware that you *could* modify it now. Last time I did this is when I started working with this repeat form, which I use religiously now, and ended up with scary nonsense in x. Apparently,

Re: Query for valid email

2016-04-29 Thread Bob Sneidar
I should also mention that telnet that is built into Windows does not have any SSL libraries built in, so even if you knew how to use TL in a telnet session, you wouldn't be able to do it. There is however a utility called SMTPConsole, which is free. The author compiled a telnet client with SSL

Re: Query for valid email

2016-04-29 Thread Bob Sneidar
This advice in this article works if the mail server does not encrypt or use authentication, and almost all internet accessible servers do. After EHLO, you would need to enable TLS, then log in. If you did not do this the server would disconnect as soon as you used MAIL FROM:. Also, this only wo

Re: Beeing a developer after 40

2016-04-29 Thread Richard Gaskin
Erik Beugelaar wrote: > For who it may concern... (I am 49...;-) > > Adrian Kosmaczewski destroys any concerns you may have about becoming > an older developer (19 minute read): http://bit.ly/1qWJy53 Good find, Erik. Thanks. We see a similar pattern with entrepreneurship in general. Once we l

Re: Vertical Scroll Bar in Scrolling Field

2016-04-29 Thread Peter M. Brigham
Try: set the vscrollbar of fld "myFld" to (the height of fld "myFld" < the formattedheight of \ fld "myFld") and call it in a closefield or textchanged handler. -- Peter Peter M. Brigham pmb...@gmail.com On Apr 28, 2016, at 10:27 PM, Sannyasin Brahmanathaswami wrote: > Am I daft? >

LC 6.7.x bug: removal of "Externals" folder breaks loading of internal script libraries

2016-04-29 Thread Paul Dupuis
FYI: I don't know if anyone else has run into this, but if you rename or remove the "Externals" folder from a standalone, the standalone fails to load the default "rev" script libraries (like revCommonLibrary or revLibURL, etc.) in the standalone. I have only verified this under LC6.7.10 (and earl

Re: Beeing a developer after 40

2016-04-29 Thread RM
54 and loving it! Richmond. On 29.04.2016 08:43, Erik Beugelaar wrote: For who it may concern... (I am 49...;-) Adrian Kosmaczewski destroys any concerns you may have about becoming an older developer (19 minute read): http://bit.ly/1qWJy53 Have a nice day! Erik ___