Re: Don't amputate numberFormat (was: affecting array keys???)

2017-04-21 Thread Bob Sneidar via use-livecode
A couple years ago I had a look at format. I gave up after I got the headache. I tried again today. Same results. I cannot even begin to fathom the printf() C rules! I read and read and read, try examples etc. but NOTHING can get me to the point where I can make "1.1" into "01.10" never mind "10

Re: The selectedObjects - is it a container or not?

2017-04-21 Thread Curry Kenworthy via use-livecode
Richard: > I wholeheartedly agree. ... > I'm putting together a little plan to move that vision > forward for a new generation of programmers. Good! That's what we need. Although HC itself is history, the reasons for its success can hold a lot of promise for the future. Best wishes, Curry K.

Re: The selectedObjects - is it a container or not?

2017-04-21 Thread Richard Gaskin via use-livecode
Curry Kenworthy wrote: > Richard: >> What LiveCode brings to the modern world is a high-level >> scripting language distinguished not by any conformance to >> the rules of English, but by being among the very few that >> include support for GUI controls as inherent language elements. > > Just a b

Re: Don't amputate numberFormat (was: affecting array keys???)

2017-04-21 Thread Mike Kerner via use-livecode
I tend to agree. There is nothing about "format" that is intuitive to the non-initiated. On Fri, Apr 21, 2017 at 8:51 PM, Curry Kenworthy via use-livecode < use-livecode@lists.runrev.com> wrote: > Mark Waddingham: > > I think this is perhaps more evidence that 'numberFormat' > > should probably

Re: The selectedObjects - is it a container or not?

2017-04-21 Thread Curry Kenworthy via use-livecode
Richard: What LiveCode brings to the modern world is a high-level scripting language distinguished not by any conformance to the rules of English, but by being among the very few that include support for GUI controls as inherent language elements. Just a brief reply here to note that there's mo

Don't amputate numberFormat (was: affecting array keys???)

2017-04-21 Thread Curry Kenworthy via use-livecode
Mark Waddingham: > I think this is perhaps more evidence that 'numberFormat' > should probably be deprecated - or at least marked as > 'present for HyperCard compatibility only and shouldn't > be used in new code'. I emphatically disagree. There's nothing wrong with numberFormat as a binary to t

Re: OT (?): Bookmarking GPS coords

2017-04-21 Thread Alex Tweedly via use-livecode
I was working on a Mobile app to allow a user to set the location of a named address within a UK Postcode. For various reasons, I'm not able to spend much time on it - and I discovered that although the process of starting to develop an Android app looks reasonable, there are many details you

Re: List of available SVG icons, name AND icon?

2017-04-21 Thread J. Landman Gay via use-livecode
On 4/21/17 2:46 PM, Klaus major-k via use-livecode wrote: OK, find a quick and nice looking SVG viewer stack here: Please drop a line if the Dropbox links does not work! This is just a VIEWER with all 369 icons and nam

Re: List of available SVG icons, name AND icon?

2017-04-21 Thread Devin Asay via use-livecode
On Apr 21, 2017, at 1:51 PM, Klaus major-k via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: Hi all, Am 21.04.2017 um 21:46 schrieb Richmond Mathewson via use-livecode mailto:use-livecode@lists.runrev.com>>: Well, here's some sort of a start: http://forums.livecode.com/viewtopic

Re: List of available SVG icons, name AND icon?

2017-04-21 Thread Klaus major-k via use-livecode
Hi all, > Am 21.04.2017 um 21:46 schrieb Richmond Mathewson via use-livecode > : > > Well, here's some sort of a start: > http://forums.livecode.com/viewtopic.php?f=10&t=29163#p153534 > At least it should help those of us who find peering at "that thing" (the > transparent menu) a pain-in-the-

Re: List of available SVG icons, name AND icon?

2017-04-21 Thread Klaus major-k via use-livecode
Hi all, > Am 21.04.2017 um 20:44 schrieb J. Landman Gay via use-livecode > : > > On 4/21/17 12:48 PM, Klaus major-k via use-livecode wrote: >> anyone knows of a way to see all available SVG icons for e.g. the SVG >> and "Navigation Bar" widgets in another way than the very unhandy popup >> with

Re: List of available SVG icons, name AND icon?

2017-04-21 Thread Richmond Mathewson via use-livecode
Well, here's some sort of a start: http://forums.livecode.com/viewtopic.php?f=10&t=29163#p153534 At least it should help those of us who find peering at "that thing" (the transparent menu) a pain-in-the-opticals. Richmond. On 4/21/17 9:44 pm, J. Landman Gay via use-livecode wrote: On 4/21/1

Re: List of available SVG icons, name AND icon?

2017-04-21 Thread Richmond Mathewson via use-livecode
If all the SVGs for the SVG widget are derived from a font . . . . fontawesome.ttf Livecode/Contents/Tools/Toolset/resources/supporting_files/fonts/fontawesome.ttf and one knows their Unicode glyph addresses . . . . 0xE600 - 0xE60B, 0xF000 - 0xF1E2 Richmond. On 4/21/17 8:48 pm, Klaus major-k

Re: List of available SVG icons, name AND icon?

2017-04-21 Thread Richmond Mathewson via use-livecode
Where is the popup (8.1.3)? Richmond. On 4/21/17 8:48 pm, Klaus major-k via use-livecode wrote: Hi there, anyone knows of a way to see all available SVG icons for e.g. the SVG and "Navigation Bar" widgets in another way than the very unhandy popup with the VERY narrow scrollbar? I see myself

Re: List of available SVG icons, name AND icon?

2017-04-21 Thread J. Landman Gay via use-livecode
On 4/21/17 12:48 PM, Klaus major-k via use-livecode wrote: anyone knows of a way to see all available SVG icons for e.g. the SVG and "Navigation Bar" widgets in another way than the very unhandy popup with the VERY narrow scrollbar? Not to mention the transparency which makes the icons nearly i

Re: Livecode cross platform delight

2017-04-21 Thread J. Landman Gay via use-livecode
On 4/21/17 6:03 AM, David V Glasgow via use-livecode wrote: With some anxiety I launched the Windows version on XP, Vista and 10 (the terrible testing trio), and …… it worked perfectly. I just sat there, thinking how truly amazing , really, really amazing that is. I am constantly amazed at

Re: List of available SVG icons, name AND icon?

2017-04-21 Thread Klaus major-k via use-livecode
Hi all, > Am 21.04.2017 um 19:48 schrieb Klaus major-k via use-livecode > : > > Hi there, > > anyone knows of a way to see all available SVG icons for e.g. the SVG > and "Navigation Bar" widgets in another way than the very unhandy popup > with the VERY narrow scrollbar? > > I see myself rath

List of available SVG icons, name AND icon?

2017-04-21 Thread Klaus major-k via use-livecode
Hi there, anyone knows of a way to see all available SVG icons for e.g. the SVG and "Navigation Bar" widgets in another way than the very unhandy popup with the VERY narrow scrollbar? I see myself rather looking at the scrollbar to not miss it with the mouse than actually looking at the icons th

Re: numberFormat affecting array keys???

2017-04-21 Thread Bob Sneidar via use-livecode
Sly Kitty. :-) Bob S > On Apr 21, 2017, at 09:53 , J. Landman Gay via use-livecode > wrote: > > Alternately, put a space after pSourceString to force it to text, which will > apply numberformat, and then return word 1 of it. > > -- > Jacqueline Landman Gay | jac...@hyperactivesw

Re: numberFormat affecting array keys???

2017-04-21 Thread J. Landman Gay via use-livecode
Alternately, put a space after pSourceString to force it to text, which will apply numberformat, and then return word 1 of it. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 21, 2017 11:31:36 AM Bob S

Re: numberFormat affecting array keys???

2017-04-21 Thread Bob Sneidar via use-livecode
Okay this is why they call me Sly Dawg. I used the engine quirk against it to produce this: on mouseUp repeat with i = 1 to 10 put formatNumber(i, "00") into myArray [i] end repeat breakpoint end mouseUp function formatNumber pSourceString, pFormat set the numberFormat to pForm

Re: Livecode cross platform delight

2017-04-21 Thread Devin Asay via use-livecode
+1 in behalf of my students deploying to iOS and Android devices for the first time! Devin On Apr 21, 2017, at 5:03 AM, David V Glasgow via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: I have been so busy recently developing an app (on Mac), I completely failed to keep up testin

Re: numberFormat affecting array keys???

2017-04-21 Thread Mike Kerner via use-livecode
Here's an interesting case I ran into: long time - hours can be single digits, e.g. "8", but minutes and seconds are always two digits, e.g. "00", and, of course, setting the numberFormat does not affect anything. ___ use-livecode mailing list use-liveco

Re: numberFormat affecting array keys???

2017-04-21 Thread Bob Sneidar via use-livecode
I could, but I will have to figure out how to convert a numberFormat string like "#0.00" to a format incantation, as the dictionary puts it. The goal is to convert ANY number to ANY numeric format, not just solve this one little issue which I could just code around if I wanted. This sort of thin

Re: numberFormat affecting array keys???

2017-04-21 Thread Bob Sneidar via use-livecode
Sorry. Change that to: put formatNumber(i, "00") into myArray [i] and it does NOT work. adding 0 to the value with numberFormat set to "00" does NOT format the number. SHEESH! Working on it. Bob S > On Apr 21, 2017, at 08:58 , Bob Sneidar via use-livecode > wrote: > > Okay simple solution:

Re: numberFormat affecting array keys???

2017-04-21 Thread Paul Dupuis via use-livecode
On 4/21/2017 11:34 AM, Bob Sneidar via use-livecode wrote: > It really doesn't matter though, because the bottom line is that I need to > create my own number formatting function, which is no big deal. If it's any > good I'll post it for review and refinement. Why not use the existing format(ba

Re: numberFormat affecting array keys???

2017-04-21 Thread Bob Sneidar via use-livecode
Okay simple solution: on mouseUp repeat with i = 1 to 10 put formatNumber(i) into myArray [i] end repeat breakpoint end mouseUp function formatNumber pSourceString, pFormat set the numberFormat to pFormat add 0 to pSourceString return pSourceString end formatNumber This

Re: numberFormat affecting array keys???

2017-04-21 Thread Bob Sneidar via use-livecode
OIC. NumberFormat is a STRING function. So then...: set the numberFormat to "00"; put 1+1 into tValue; put tValue produces "02" because livecode converts EVERYTHING to a string before outputting it. It makes more sense I suppose to put it that way. I have gotten into the habit of thinking that n

Re: numberFormat affecting array keys???

2017-04-21 Thread Mark Waddingham via use-livecode
On 2017-04-21 16:33, Bob Sneidar via use-livecode wrote: I got that wrong. I could say I expected the value to be 01. Also if you see the value of i in the debugger, it indicates that the value of i is 1 and NOT 01. So it HAS to be the array designation that is doing it. Yes - i is a number (a

Re: taking a screenshot fails - video experience needed

2017-04-21 Thread Bob Sneidar via use-livecode
Anti Virus. Some malware is designed to take screen shots and ship them off. https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=13&cad=rja&uact=8&ved=0ahUKEwjuj5zR4rXTAhVps1QKHYrjD0wQFghSMAw&url=https%3A%2F%2Fsecurity.stackexchange.com%2Fquestions%2F126433%2Fdetecting-when-a-screenshot-

Re: numberFormat affecting array keys???

2017-04-21 Thread Bob Sneidar via use-livecode
I got that wrong. I could say I expected the value to be 01. Also if you see the value of i in the debugger, it indicates that the value of i is 1 and NOT 01. So it HAS to be the array designation that is doing it. Bob S On Apr 21, 2017, at 07:31 , Bob Sneidar via use-livecode mailto:use-liv

Re: numberFormat affecting array keys???

2017-04-21 Thread Bob Sneidar via use-livecode
Again, the VALUE is not being converted by numberFormat, so it ISN'T the LOOP calculation that is doing it! Otherwise the VALUE would ALSO be 1! I loop is using i and it clearly contains 1 and not 01 because that is what shows up in the value. I could put it the otherway. I could say I expected

Re: numberFormat affecting array keys???

2017-04-21 Thread Bob Sneidar via use-livecode
Now I have you! It's NOT doing math in the loop! I know this because the VALUE is 1 and NOT 01. Bob S On Apr 20, 2017, at 17:32 , hh via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: Bob S. wrote: Okay THAT has GOT to be a bug!!! Why the hell is numberformat modifying the name of

Re: AW: Which code signing authority?

2017-04-21 Thread Jonathan Lynch via use-livecode
I will check them out. Maybe LiveCode could become a Comodo cert distributor? That would be a nice plus and a little extra revenue for them. Sent from my iPhone > On Apr 21, 2017, at 9:17 AM, tbodine via use-livecode > wrote: > > I've been using K Software's Comodo certs to sign Windows stan

Re: AW: Which code signing authority?

2017-04-21 Thread tbodine via use-livecode
I've been using K Software's Comodo certs to sign Windows standalones and installers for at least five years. The support provided by the owner of K Software is quite good. (Example: http://certhelp.ksoftware.net/support/home ) Tom B. -- View this message in context: http://runtime-revolution.

Re: taking a screenshot fails - video experience needed

2017-04-21 Thread Trevor DeVore via use-livecode
On Fri, Apr 21, 2017 at 1:53 AM Tiemo Hollmann TB via use-livecode < use-livecode@lists.runrev.com> wrote: > And what do you mean with "feature"? to suppress the ability of making > screenshots in general? Ever heard of something like this? I've seen Webroot affect what can be captured on the sc

Livecode cross platform delight

2017-04-21 Thread David V Glasgow via use-livecode
I have been so busy recently developing an app (on Mac), I completely failed to keep up testing Windows version, probably going back 20 or so builds. I had scripted several platform dependent variants, but never tested the features. Stupid. Suddenly I find myself faced with very soon running

Re: numberFormat affecting array keys???

2017-04-21 Thread Mark Waddingham via use-livecode
On 2017-04-21 01:51, Bob Sneidar via use-livecode wrote: Put this into a button: on mouseUp set the numberFormat to "00" repeat with i=1 to 10 put i into myArray [i] breakpoint end repeat end mouseUp At the breakpoint examine the array. There will be a 1 in an element with