Re: LC 9.0.0 dp8 won't launch iOS simulator

2017-08-11 Thread William Prothero via use-livecode
Thanks for the ideas. I’ll do those things, Evergreen. I have been using iPhone 6 and above, but tomorrow, after a night’s sleep, I’ll follow the suggestions. Thanks! Bill P > On Aug 11, 2017, at 10:43 PM, panagiotis merakos via use-livecode > wrote: > > Hi

Re: LC 9.0.0 dp8 won't launch iOS simulator

2017-08-11 Thread panagiotis merakos via use-livecode
Hi Bill, In LC 9dp7 (or dp8, not 100% sure), we removed support for 32bit simulators. This means that if your simulator is set to iPhone SE or iPhone5, the standalone will not launch. So you have to choose a 64bit simulator (iphone6 and above). Best regards, Panos On Aug 12, 2017 05:20,

LC 9.0.0 dp8 won't launch iOS simulator

2017-08-11 Thread William Prothero via use-livecode
Folks: I’m trying to work on a new app that will send an sms message in iOS. But, as it usually happens when I don’t use the simulator and XCode for a month or so, new version come along and chaos seems to ensue. I had all of this working in LC 8.1.4. I’ve been working with LC 8.2.6 and

Re: Ink pullDown menu

2017-08-11 Thread Paul Hibbert via use-livecode
The fontNames is a built-in function, but there’s no built-in function for ink names AFAIK, however, that doesn’t stop you form creating a custom function, something like this should work for an option menu button (edit as appropriate): on mouseEnter if word 1 of the selectedObject = "image"

RE: Livecode Mobile App in Background

2017-08-11 Thread J. Landman Gay via use-livecode
I think I remember that "wait" is a problem too. Meanwhile I know of no solution for Android. The OS controls what runs in the background and when it gets wiped from RAM. You'll never know when that happens either. It's an issue that causes trouble. If anyone knows of a solution before I

RE: Livecode Mobile App in Background

2017-08-11 Thread Ralph DiMola via use-livecode
There are a couple of hitches.. I believe that Mark said that timers going off while running in the background may not work or lock up the app. There are other issues but I have not had any problems. It's an option in v9 iOS standalone setting but it's a "use at your own risk" type of thing.

Re: common code patterns

2017-08-11 Thread Dan Friedman via use-livecode
Here’s my silly contribution. How many times do we write something like this: put “Are you sure you want to delete the image” && quote & myImageName & quote && “?” into tPrompt I have a simple q() function in all my projects: function q inData return (quote & inData & quote) end q Now, I

Re: Livecode Mobile App in Background

2017-08-11 Thread Dan Friedman via use-livecode
Ralph, Thank you for the detailed reply! I tried it and it seems to work great. One question… if it’s that simple, why hasn’t LiveCode offered this as a feature? Seems like it would take a few minutes to write this in? Is there a catch to using this method? -Dan

Re: common code patterns

2017-08-11 Thread dunbarx via use-livecode
The subThread about Switch/Case is a current thread on the forum: Craig -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/common-code-patterns-tp4718218p4718394.html Sent from the Revolution - User mailing

Re: Livecode Mobile App in Background

2017-08-11 Thread Jonathan Lynch via use-livecode
Here are the instructions Ralph made. I think you can now load up your own custom plist if you want to, but these steps work. Big thanks to Ralph for this:) 1) Go to the Applications folder 2) Right click on the LC app you are using and select "Show Package Contents" 3) Navigate to the

Re: [OT] HyperCard preservation society

2017-08-11 Thread Monte Goulding via use-livecode
> On 12 Aug 2017, at 11:27 am, Mark Wieder via use-livecode > wrote: > > LOL... "PRINT PEEL & STICK VHS LABELS" Not betamax? C’mon! ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

Re: [OT] HyperCard preservation society

2017-08-11 Thread Mark Wieder via use-livecode
On 08/11/2017 08:00 AM, Ben Rubinstein via use-livecode wrote: This is fabulous: http://blog.archive.org/2017/08/11/hypercard-on-the-archive-celebrating-30-years-of-hypercard/ LOL... "PRINT PEEL & STICK VHS LABELS" srsly, though... happy 30th, HyperCard. -- Mark Wieder

Re: Livecode Mobile App in Background

2017-08-11 Thread Jonathan Lynch via use-livecode
The plist can be edited for this. If you search plist on this list, you will find instructions. Augmented Earth hibernates rather than being shut down. Sent from my iPhone > On Aug 11, 2017, at 9:10 PM, Dan Friedman via use-livecode > wrote: > > There’s been a

Re: App Rejected: IPv6 network?

2017-08-11 Thread Andre Garzia via use-livecode
It used to be the case that Apple would only allow JS to be downloaded, all other languages could not run. Of course the static analysis system is not perfect and probably it can't detect that that is what is happening with our LC apps, but the terms were clear that you could not download code

Livecode Mobile App in Background

2017-08-11 Thread Dan Friedman via use-livecode
There’s been a lot of talk about this, but does any one have a working method for getting the app to not exit when it’s suspended? Need a solution for both iOS and Android. If it could stay alive for like 10 munites, that’s all I need. My client doesn’t want the app to have to completely

mobilePick width on iPhone 6

2017-08-11 Thread Dan Friedman via use-livecode
Anyone know why the width of the click wheel when calling mobilePick on an iPhone 6 is only about ¾ of the width of the screen? How do you go about fixing this? -Dan ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url

Re: common code patterns

2017-08-11 Thread Alex Tweedly via use-livecode
On 11/08/2017 23:17, Monte Goulding via use-livecode wrote: On 11 Aug 2017, at 9:40 am, Alex Tweedly via use-livecode wrote: repeat with i=1 to paramcount()-1 put param(i)&"," after theValue end repeat put param(paramcount()) after theValue

Re: common code patterns

2017-08-11 Thread Mark Wieder via use-livecode
On 08/11/2017 03:21 PM, Monte Goulding via use-livecode wrote: Ha… I hadn’t considered that you might want the elements sorted instead of the keys but of course you might… well I’m not sure I just know I’d really like to have a way to iterate sorted keys and elements… I'm not trying by any

RE: common code patterns

2017-08-11 Thread Ralph DiMola via use-livecode
I may not be obvious but neither is the sort command. When I start LC I could not grasp "each" and what it did to what from who, but that's me. I digress. I can't tell you how many times I've done: Local tKeys Put the keys of pArray into tKeys Sort the lines of tKeys numeric Repeat for each line

Re: common code patterns

2017-08-11 Thread Dr. Hawkins via use-livecode
On Fri, Aug 11, 2017 at 3:08 PM, Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote: > On 08/11/2017 02:59 PM, Mike Kerner via use-livecode wrote: > >> That is not easier to read. >> > > Heh. Mike beat me to it. . . . After seven chalkboards of deprivation, the calculus

Re: common code patterns

2017-08-11 Thread Monte Goulding via use-livecode
> On 12 Aug 2017, at 8:06 am, Mark Wieder via use-livecode > wrote: > >> I guess we could have more explicit syntax here which might be more flexible >> too >> repeat for each element tElement and key tKey in tArray ordered numeric >> ascending > > I must be

Re: Speed of control lookup (Was Re: Parent of Target)

2017-08-11 Thread Monte Goulding via use-livecode
> On 12 Aug 2017, at 8:11 am, Mark Wieder via use-livecode > wrote: > >> Hmm… Would it be a good idea to create a new ID form with the bare minimum >> to identify an object. > > > UUID > Let’s not start that again ;-)

Re: common code patterns

2017-08-11 Thread Monte Goulding via use-livecode
> On 11 Aug 2017, at 9:40 am, Alex Tweedly via use-livecode > wrote: > > repeat with i=1 to paramcount()-1 >put param(i)&"," after theValue > end repeat > put param(paramcount()) after theValue > > Shorter, faster, and just plain tidier :-) Hmm…

Re: Speed of control lookup (Was Re: Parent of Target)

2017-08-11 Thread Mark Wieder via use-livecode
On 08/11/2017 02:58 PM, Monte Goulding via use-livecode wrote: Hmm… Would it be a good idea to create a new ID form with the bare minimum to identify an object. UUID -- Mark Wieder ahsoftw...@gmail.com ___ use-livecode mailing list

Re: common code patterns

2017-08-11 Thread Mark Wieder via use-livecode
On 08/11/2017 02:59 PM, Mike Kerner via use-livecode wrote: That is not easier to read. Heh. Mike beat me to it. -- Mark Wieder ahsoftw...@gmail.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe,

Re: common code patterns

2017-08-11 Thread Mark Wieder via use-livecode
On 08/11/2017 02:46 PM, Monte Goulding via use-livecode wrote: I guess we could have more explicit syntax here which might be more flexible too repeat for each element tElement and key tKey in tArray ordered numeric ascending I must be channeling Mark Waddingham here... I'm worried that the

Re: [OT] Draconian computer company policies, was: Mobile LC Apps Downloading Stacks After installation

2017-08-11 Thread Mark Wieder via use-livecode
On 08/11/2017 01:44 PM, J. Landman Gay via use-livecode wrote: At the risk of starting a platform war. No platform war on my part. I hate operating systems. Linux comes closest to what I want because I can configure it, it (mostly) doesn't keep dumbing down the interface and (mostly)

Re: common code patterns

2017-08-11 Thread Mike Kerner via use-livecode
That is not easier to read. On Fri, Aug 11, 2017 at 5:46 PM, Monte Goulding via use-livecode < use-livecode@lists.runrev.com> wrote: > > > On 12 Aug 2017, at 1:37 am, Mark Waddingham via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > So, let me rephrase - what are the use-cases

Re: Speed of control lookup (Was Re: Parent of Target)

2017-08-11 Thread Monte Goulding via use-livecode
> On 12 Aug 2017, at 1:23 am, Mark Waddingham via use-livecode > wrote: > > It has also suggested (to me, at least) a slightly different approach - we > make the return value of the 'long id' property of objects what you might > call a StringyLongId value.

Re: [OT] Draconian computer company policies, was: Mobile LC Apps Downloading Stacks After installation

2017-08-11 Thread Roger Eller via use-livecode
I recently heard that Apple is planning a revolutionary smartwatch which has calling functions built-in. Seriously, no need to carry a phone! Now Google it and see how many of these have existed for several years. Revolutionary idea stealin' bunch! lol ~Roger On Aug 11, 2017 4:44 PM, "J.

Re: common code patterns

2017-08-11 Thread Monte Goulding via use-livecode
> On 12 Aug 2017, at 1:37 am, Mark Waddingham via use-livecode > wrote: > > So, let me rephrase - what are the use-cases people can see for allowing > (some variant of): > > repeat ... with counter tCounter starting from tStart Hmm…. what about: repeat for

Re: [OT] Draconian computer company policies, was: Mobile LC Apps Downloading Stacks After installation

2017-08-11 Thread J. Landman Gay via use-livecode
On 8/11/17 10:51 AM, Dr. Hawkins via use-livecode wrote: I'd be tempted to switch to an android (I actually had the original gphone), but the privacy, hacks, and whathaveyou stop me. At the risk of starting a platform war... I love my Mac but I don't like iOS. It's too dumbed down to be

Re: [OT] Draconian computer company policies, was: Mobile LC Apps Downloading Stacks After installation

2017-08-11 Thread Curry Kenworthy via use-livecode
Mark: > I think Johnathan made the best point here - if you want into the > iOS world and the AppStore Apple provide you have to abide by their > rules. However, if you don't care about the AppStore, then just > jailbreak your phone and run free - no-one is stopping you. > It is entirely your

Re: Mobile LC Apps Downloading Stacks After installation

2017-08-11 Thread Sannyasin Brahmanathaswami via use-livecode
Mark, thanks for the thorough explanation. I would go on record to say that "vision" for our use of such post/sideloading option would fall well within th UI/UX of the existing app, since, from a design point of view our goals would want it to be virtually transparent. That said, the CMS can

Re: [OT] Draconian computer company policies, was: Mobile LC Apps Downloading Stacks After installation

2017-08-11 Thread Roger Eller via use-livecode
You too, Richmond! I agree with you that it's more about Apple greed than making a safe, malware-free environment. Stay safe from the Kool-ade. :) Kind regards, ~Roger Roger Eller Graphics Systems Analyst 803 North Maple Street P: 864.967.1625 Simpsonville, SC 29681 C: 864.908.0337

Re: [OT] Draconian computer company policies, was: Mobile LC Apps Downloading Stacks After installation

2017-08-11 Thread Richmond Mathewson via use-livecode
Wow, Roger! You have "out devil's advocated me". Hope you have a great weekend. Richmond. On 8/11/17 8:38 pm, Roger Eller via use-livecode wrote: On Fri, Aug 11, 2017 at 1:28 PM, Mark Waddingham via use-livecode < use-livecode@lists.runrev.com> wrote: On 2017-08-11 19:22, Richmond

Re: [OT] Draconian computer company policies, was: Mobile LC Apps Downloading Stacks After installation

2017-08-11 Thread Roger Eller via use-livecode
On Fri, Aug 11, 2017 at 1:28 PM, Mark Waddingham via use-livecode < use-livecode@lists.runrev.com> wrote: > On 2017-08-11 19:22, Richmond Mathewson via use-livecode wrote: > >> So, I wonder why there is not a way of putting one's iPad app onot the >> web in a way (and I don't mean via Cydia) >>

Re: [OT] Draconian computer company policies, was: Mobile LC Apps Downloading Stacks After installation

2017-08-11 Thread Dr. Hawkins via use-livecode
On Fri, Aug 11, 2017 at 9:54 AM, Richmond Mathewson via use-livecode < use-livecode@lists.runrev.com> wrote: > Well, I always drive below the speed limit and I always wear a seatbelt > (and have always done so whether or not it was > a legal requirement in the country I happened to be living in

Re: [OT] Draconian computer company policies, was: Mobile LC Apps Downloading Stacks After installation

2017-08-11 Thread Mark Waddingham via use-livecode
On 2017-08-11 19:22, Richmond Mathewson via use-livecode wrote: So, I wonder why there is not a way of putting one's iPad app onot the web in a way (and I don't mean via Cydia) that will allow people to download it onto their tablets independently, as one can do on an Android device? There is

Re: [OT] Draconian computer company policies, was: Mobile LC Apps Downloading Stacks After installation

2017-08-11 Thread Mark Waddingham via use-livecode
On 2017-08-11 18:49, Curry Kenworthy via use-livecode wrote: Richmond, this may be rare but I'm 100% in agreement with you! My device, my management. I don't have the right to do something illegal or endanger others, but otherwise, I call the shots. Indeed - you are free to do whatever you

Re: Update: Crash with mobilePickPhoto and Android

2017-08-11 Thread Roger Eller via use-livecode
Also, you shouldn't have to use a workaround just because it is Android. The mobile syntax should work the same for either OS. ~Roger On Fri, Aug 11, 2017 at 12:32 PM, J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: > This needs a bug report. Crashes are high priority

Re: [OT] Draconian computer company policies, was: Mobile LC Apps Downloading Stacks After installation

2017-08-11 Thread Richmond Mathewson via use-livecode
On 8/11/17 8:18 pm, Mark Waddingham via use-livecode wrote: On 2017-08-11 18:54, Richmond Mathewson via use-livecode wrote: Now putting a LiveCode standalone onto an iPad that does thing that Apple doesn't like isn't always the same thing as putting things onto an iPad that is unsafe. I've

Re: [OT] Draconian computer company policies, was: Mobile LC Apps Downloading Stacks After installation

2017-08-11 Thread Mark Waddingham via use-livecode
On 2017-08-11 18:54, Richmond Mathewson via use-livecode wrote: Now putting a LiveCode standalone onto an iPad that does thing that Apple doesn't like isn't always the same thing as putting things onto an iPad that is unsafe. I've already pointed out that you can put whatever you want onto

Re: [OT] Draconian computer company policies, was: Mobile LC Apps Downloading Stacks After installation

2017-08-11 Thread Jonathan Lynch via use-livecode
If we buy an iPad, we are buying both the device and the services that go with it. To use a service, like iTunes, we are agreeing to operate by their rules. It seems acceptable for Apple to impose restrictions on use of their device and their services simply because people have the choice to

Re: [OT] Draconian computer company policies, was: Mobile LC Apps Downloading Stacks After installation

2017-08-11 Thread Richmond Mathewson via use-livecode
Well, I always drive below the speed limit and I always wear a seatbelt (and have always done so whether or not it was a legal requirement in the country I happened to be living in at the time). This is not quite the same as keeping goats and hens in the back of your car (which was not illegal

Re: [OT] Draconian computer company policies, was: Mobile LC Apps Downloading Stacks After installation

2017-08-11 Thread Curry Kenworthy via use-livecode
Richmond: > I cannot quite see how people are prepared to go on buying > Apple iPads when there are such draconian restrictions as to > what one can run on them. > While the Android "thing" may not be much better, at last one > can side-load almost anything one wants. > But, Like Richard

Ink pullDown menu

2017-08-11 Thread Richmond Mathewson via use-livecode
I can have a pullDown menu with this sort of script: put the fontNames into me how can I do the smae sort of thing for Ink? e.g. (pseudocode): put the inkNames into me Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please

Re: [OT] Draconian computer company policies, was: Mobile LC Apps Downloading Stacks After installation

2017-08-11 Thread Jonathan Lynch via use-livecode
It seems that this is another reason to use LC's HTML5 deployment. Since external javascript is permitted, one could do the "sideloading" by accessing a website created with LC. It would just be an LC HTML5 app displayed inside of a browser widget. Of course, it would be easy to abuse this by

Re: Bug 20255 - Simple Loop Labeling

2017-08-11 Thread Mark Wieder via use-livecode
On 08/11/2017 08:50 AM, Mark Waddingham via use-livecode wrote: > they aren't likely to happen until someone actually has some 'time' to do the necessary thinking Um. Yes. That would be you. -- Mark Wieder ahsoftw...@gmail.com ___ use-livecode

Re: Update: Crash with mobilePickPhoto and Android

2017-08-11 Thread J. Landman Gay via use-livecode
This needs a bug report. Crashes are high priority fixes. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August 11, 2017 10:17:35 AM Dan Friedman via use-livecode wrote:

Re: common code patterns

2017-08-11 Thread Mark Wieder via use-livecode
On 08/11/2017 08:42 AM, Alex Tweedly via use-livecode wrote: Is it really worth doing this by changing each of the lines ? Is it not easier, clearer and very likely just as fast, to do: put empty into tNewBreaks repeat for each line tBreak in tBreaks put item 1 of tBreak into tID put the

Re: [OT] Draconian computer company policies, was: Mobile LC Apps Downloading Stacks After installation

2017-08-11 Thread J. Landman Gay via use-livecode
In this case, the restrictions are to prevent malware from entering the app stores, which hardly sounds Draconian to me. Even so, there have been a handful of apps that made it through the vetting process and affected dozens or hundreds of users. It's rare but it has happened. -- Jacqueline

Re: common code patterns

2017-08-11 Thread Malte Pfaff-Brill via use-livecode
HI Alex, > put param(1) into isLeft > put param(2) into isTop > etc. > > This always has fewer lines (i.e. the same number of lines as the > "recombine" part), and removes the loop completely. > But would change the way the functions are intended to be able to called. myFunction(the loc of

Re: Bug 20255 - Simple Loop Labeling

2017-08-11 Thread Dr. Hawkins via use-livecode
On Thu, Aug 10, 2017 at 6:24 PM, Monte Goulding via use-livecode < use-livecode@lists.runrev.com> wrote: > > 2. automagical maintenance if the comments exist and you change the > conditio > Oooh, yes; automagical maintenance would be wonderful! (really? my spellchecker recognizes "automagical"

Re: Mobile LC Apps Downloading Stacks After installation

2017-08-11 Thread Mark Waddingham via use-livecode
On 2017-08-11 18:00, Mike Kerner via use-livecode wrote: That's not what I'm saying. What I'm saying is while telling everyone to control themselves is good, removing these capabilities from LC is bad, so if the time comes where it is necessary to do something to stop someone from behaving

Re: Mobile LC Apps Downloading Stacks After installation

2017-08-11 Thread Mike Kerner via use-livecode
That's not what I'm saying. What I'm saying is while telling everyone to control themselves is good, removing these capabilities from LC is bad, so if the time comes where it is necessary to do something to stop someone from behaving badly, please make sure we have a switch in place that allows

Re: [OT] Draconian computer company policies, was: Mobile LC Apps Downloading Stacks After installation

2017-08-11 Thread Dr. Hawkins via use-livecode
On Fri, Aug 11, 2017 at 8:44 AM, Mark Waddingham via use-livecode < use-livecode@lists.runrev.com> wrote: > > > It is important to remember that the majority of people who use mobile > phones, tablets and computers use them like they do their car or washing > machine. They have little interest in

Re: Bug 20255 - Simple Loop Labeling

2017-08-11 Thread Mark Waddingham via use-livecode
On 2017-08-11 17:40, Mark Wieder via use-livecode wrote: On 08/11/2017 02:51 AM, Mark Waddingham via use-livecode wrote: Naming loops in a syntactic way certainly sounds like a useful thing to do: I should point out here that Robert Cailliau has complained about the lack of named loops as

Re: [OT] Draconian computer company policies, was: Mobile LC Apps Downloading Stacks After installation

2017-08-11 Thread Mark Waddingham via use-livecode
On 2017-08-11 16:44, Richmond Mathewson via use-livecode wrote: I cannot quite see how people are prepared to go on buying Apple iPads when there are such draconian restrictions as to what one can run on them. While the Android "thing" may not be much better, at last one can side-load almost

Re: common code patterns

2017-08-11 Thread Alex Tweedly via use-livecode
On 11/08/2017 16:26, Mark Wieder via use-livecode wrote: case 2: iterating through a cr-separated list and needing to modify lines (note: this is even more extreme if I need to delete lines): put tBreaks into tNewBreaks put 1 into tLine repeat for each line tBreak in tBreaks put item 1 of

Re: Bug 20255 - Simple Loop Labeling

2017-08-11 Thread Mark Wieder via use-livecode
On 08/11/2017 02:51 AM, Mark Waddingham via use-livecode wrote: Naming loops in a syntactic way certainly sounds like a useful thing to do: I should point out here that Robert Cailliau has complained about the lack of named loops as one of the main deficiencies of LiveCode for some ten

Re: common code patterns

2017-08-11 Thread Mark Waddingham via use-livecode
On 2017-08-11 17:26, Mark Wieder via use-livecode wrote: On 08/11/2017 02:24 AM, Mark Waddingham via use-livecode wrote: Not quite on topic for the thread, but this interested in me in terms of - what are the use cases? Somewhat similar to Ralph's use cases, this paradigm comes up quite

Re: Mobile LC Apps Downloading Stacks After installation

2017-08-11 Thread Mark Waddingham via use-livecode
On 2017-08-11 16:35, Mike Kerner via use-livecode wrote: Unless I read your post incorrectly, mark, "Do" works just fine, at least Yes it does - the point I was making was that breaking the rules in the App Store could end up with us having to restrict what the LiveCode engine can do when

Re: common code patterns

2017-08-11 Thread Mark Wieder via use-livecode
On 08/11/2017 02:24 AM, Mark Waddingham via use-livecode wrote: Not quite on topic for the thread, but this interested in me in terms of - what are the use cases? Somewhat similar to Ralph's use cases, this paradigm comes up quite often in my code. Probably the most common case is where I

Re: Fwd: Speed of control lookup (Was Re: Parent of Target)

2017-08-11 Thread Mark Waddingham via use-livecode
On 2017-08-11 14:57, Mark Waddingham via use-livecode wrote: The question of course is 'how fast could we get long id parsing to be' (as that is the bottleneck here, or at least appears to be). Okay so I got stuck on what I am *meant* to be doing, so spent a little time trying to answer this

Update: Crash with mobilePickPhoto and Android

2017-08-11 Thread Dan Friedman via use-livecode
For those who may be interested, here’s a fun one… If acceleratedRendering is enabled, mobilePickPhoto will crash the app on Android. Here’s your workaround: set the acceleratedRendering of stack "main" to false mobilePickPhoto "camera" set the acceleratedRendering of stack "main" to

[OT] HyperCard preservation society

2017-08-11 Thread Ben Rubinstein via use-livecode
This is fabulous: http://blog.archive.org/2017/08/11/hypercard-on-the-archive-celebrating-30-years-of-hypercard/ Submit your jewels of yesteryear! best Ben ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

Re: App Rejected: IPv6 network?

2017-08-11 Thread Bob Sneidar via use-livecode
I think they mean a binary executable, one that can instruct the processor to go do something. The engine is a binary executable. The scripts the engine interprets and runs is not, even though they are "compiled" in a sense. They are not compiled like a C++ code would be. It's more like

[OT] Draconian computer company policies, was: Mobile LC Apps Downloading Stacks After installation

2017-08-11 Thread Richmond Mathewson via use-livecode
I cannot quite see how people are prepared to go on buying Apple iPads when there are such draconian restrictions as to what one can run on them. While the Android "thing" may not be much better, at last one can side-load almost anything one wants. But, Like Richard Stallman, I suffer from

Subject: Re: Local File in Browser Widget on Android - Fail

2017-08-11 Thread Dan Friedman via use-livecode
Sannyasin, Thank you for the reply! I have discovered that it’s not the local path the is the issue. If I do this, I see “123” in the browser: put “123” into url ("file:" & specialFolderPath("documents") & "/map.html") set the url of widget "Browser1" to ("file:" &

Re: Mobile LC Apps Downloading Stacks After installation

2017-08-11 Thread Mike Kerner via use-livecode
Unless I read your post incorrectly, mark, "Do" works just fine, at least for ad hoc apps, as well it better, because it is a critically important part of trying to debug mobile apps at runtime, with some of the rather annoying things that happen at runtime, like some failure in a script causing

Re: Mobile LC Apps Downloading Stacks After installation

2017-08-11 Thread Jonathan Lynch via use-livecode
If we could have our own LC App Store, where people could play an app with a player app on different platforms, it would be quite excellent. At the very least, I think Apple would object. Sent from my iPhone > On Aug 11, 2017, at 10:09 AM, Roger Eller via use-livecode >

RE: common code patterns

2017-08-11 Thread Ralph DiMola via use-livecode
Mark, Again thanks for chiming in. Here's an example: Local tIndex, tDataArray put getMyRecordSet() into tRS put 1 into tIndex repeat while not isEof(tRS) Put makeThisRecordIntoAnArray(tRS) into tDataArray[tIndex] Add 1 to tIndex End repeat Now I can sort the keys of the array to ripple thru

Re: Mobile LC Apps Downloading Stacks After installation

2017-08-11 Thread Roger Eller via use-livecode
Several companies HAVE their own app stores. Samsung is one that comes to mind. http://joyofandroid.com/android-app-store-alternatives/ ~Roger On Fri, Aug 11, 2017 at 10:00 AM, Jonathan Lynch via use-livecode < use-livecode@lists.runrev.com> wrote: > If Apple and Google allowed player apps

Re: Mobile LC Apps Downloading Stacks After installation

2017-08-11 Thread Jonathan Lynch via use-livecode
If Apple and Google allowed player apps that play external code, companies could essentially set up their own app stores, bypassing google play and iTunes. I cannot imagine either company would appreciate that. Sent from my iPhone > On Aug 11, 2017, at 9:52 AM, Ralph DiMola via use-livecode >

RE: Bug 20255 - Simple Loop Labeling

2017-08-11 Thread Ralph DiMola via use-livecode
I did not want to be the one to rehash this again but I would love to have this as I do it manually all the time with comments. +1 Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode

RE: Mobile LC Apps Downloading Stacks After installation

2017-08-11 Thread Ralph DiMola via use-livecode
Mark, Thanks for weighing in. I would like to read into those licenses that I could update my core LCS, but I know in my soul that if I do that it's just a shoe waiting to drop that could affect not only my license but the entire LC community. I also feel that when I create an extra button(with

Re: Bug 20255 - Simple Loop Labeling

2017-08-11 Thread Mark Waddingham via use-livecode
On 2017-08-11 14:56, Lagi Pittas via use-livecode wrote: I thought you didn't agree with USING next repeat as a structured way of programming - Reading and understanding before my Brain was in gear. Sorry - I should have made that more clear - 'next repeat' and 'exit repeat' are definitely

Re: Drag Queen

2017-08-11 Thread Richmond Mathewson via use-livecode
Thanks Both, Klaus and Mark. Richmond. On 8/11/17 2:00 pm, Mark Waddingham via use-livecode wrote: On 2017-08-11 12:43, Richmond Mathewson via use-livecode wrote: I am in trouble because I cannot work out why this is not working: on scrollbarDrag NVAL put "NVAL,0,0" into KARRAY["color"]

Fwd: Speed of control lookup (Was Re: Parent of Target)

2017-08-11 Thread Mark Waddingham via use-livecode
On 2017-08-11 11:12, Mark Waddingham via use-livecode wrote: On 2017-08-10 21:10, Richard Gaskin via use-livecode wrote: How might I measure the benefits of long ID caching? Here is perhaps a better set of simple benchmarks to compare approaches to lookup (related to ids, anyway):

Re: Bug 20255 - Simple Loop Labeling

2017-08-11 Thread Lagi Pittas via use-livecode
HI Mark, I was probably reading more into this ... "Certainly 'exit repeat ...' would not be harmful, 'next repeat ...' I'd have to analyze more deeply" I thought you didn't agree with USING next repeat as a structured way of programming - Reading and understanding before my Brain was in gear.

Re: Mobile LC Apps Downloading Stacks After installation

2017-08-11 Thread Mark Waddingham via use-livecode
On 2017-08-11 12:20, Jonathan Lynch via use-livecode wrote: I know the reviewers at app stores are not always careful, but something like an LC player would surely get their notice. Review, from my understanding, is heavily automated (it has to be - if you think of the scale of the App Stores

Re: Bug 20255 - Simple Loop Labeling

2017-08-11 Thread Mark Waddingham via use-livecode
On 2017-08-11 12:51, Lagi Pittas via use-livecode wrote: Hi Mark, I Beg to Differ about Next Repeat. "It's not wat you do it's the way that you do it" comes to mind Someone who writes spaghetti code can do it very well in any language but its much more difficult without the structure

Re: Drag Queen

2017-08-11 Thread Klaus major-k via use-livecode
Hi Richmond, > Am 11.08.2017 um 12:43 schrieb Richmond Mathewson via use-livecode > : > > I am in trouble because I cannot work out why this is not working: > > on scrollbarDrag NVAL ## You are passing the STRING NVAL and not its value: > ## put "NVAL,0,0"

Re: Drag Queen

2017-08-11 Thread Mark Waddingham via use-livecode
On 2017-08-11 12:43, Richmond Mathewson via use-livecode wrote: I am in trouble because I cannot work out why this is not working: on scrollbarDrag NVAL put "NVAL,0,0" into KARRAY["color"] put 50 into KARRAY["opacity"] set the coloroverlay of img "BB" to KARRAY end scrollbarDrag Try:

Re: Bug 20255 - Simple Loop Labeling

2017-08-11 Thread Lagi Pittas via use-livecode
Hi Mark, I Beg to Differ about Next Repeat. "It's not wat you do it's the way that you do it" comes to mind Someone who writes spaghetti code can do it very well in any language but its much more difficult without the structure brought in by the Algol/Pascal/Modula. I have not used a Goto

Drag Queen

2017-08-11 Thread Richmond Mathewson via use-livecode
I am in trouble because I cannot work out why this is not working: on scrollbarDrag NVAL put "NVAL,0,0" into KARRAY["color"] put 50 into KARRAY["opacity"] set the coloroverlay of img "BB" to KARRAY end scrollbarDrag Richmond. ___ use-livecode

Re: JPNG

2017-08-11 Thread hh via use-livecode
@Mark *** Thanks for your expertise. I couldn't do that this perfectly. *** One of the reasons for posting this JPNG stack is to show the power of LC: The essential code of compressing PNG -> JPNG and decompresing PNG -> JPNG is both less than 10 *essential* lines of code, using comfortable LC

Re: Weird thing I noticed with a graphics speed test

2017-08-11 Thread Jonathan Lynch via use-livecode
This explains - thanks! So I need to compare performance between the android and iOS devices to get a valid comparison. The group has 20 small images. I will turn them into large images to increase the demand on pixel processing. Sent from my iPhone > On Aug 11, 2017, at 5:37 AM, Mark

Re: Mobile LC Apps Downloading Stacks After installation

2017-08-11 Thread Jonathan Lynch via use-livecode
Thank you, Mark. This was a great explanation. I know the reviewers at app stores are not always careful, but something like an LC player would surely get their notice. They do allow us to import JS, but JS is way more sandboxed than LC. Sent from my iPhone > On Aug 11, 2017, at 3:55 AM,

Re: Bug 20255 - Simple Loop Labeling

2017-08-11 Thread Mark Waddingham via use-livecode
On 2017-08-10 21:33, Dr. Hawkins via use-livecode wrote: In fact, what I would *like* is modern Fortran style labelling or something like that, and the ability to the those labels to controls like next and exit. This, however, would accomplish so much with so little. Thinking out loud here

Re: Weird thing I noticed with a graphics speed test

2017-08-11 Thread Mark Waddingham via use-livecode
On 2017-08-10 03:38, Jonathan Lynch via use-livecode wrote: Actually, I had forgotten to set the layermode of the group. Now the number of passes on my Mac is 47 and on the android it is 31. This still seems rather close. I expected the slow android device to be like a quarter as fast. How

Re: Bug 20255 - Simple Loop Labeling

2017-08-11 Thread Lagi Pittas via use-livecode
+100 To Mark for that one In fact it could copy the complicated condition AND any comment after it - best of all possible worlds Lagi On 11 August 2017 at 02:38, Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote: > On 08/10/2017 06:24 PM, Monte Goulding via use-livecode

RE: common code patterns

2017-08-11 Thread Mark Waddingham via use-livecode
On 2017-08-10 19:38, Ralph DiMola via use-livecode wrote: To make this even more flexible: repeat for each line tLine in tLines with [counter] tIndex [start] [{1}|x] [step] [{1}|y] end repeat Not quite on topic for the thread, but this interested in me in terms of - what are the use

Re: JPNG

2017-08-11 Thread Mark Waddingham via use-livecode
On 2017-08-11 10:41, Richmond Mathewson via use-livecode wrote: It may not, but the stack does export images with a .lcjpng suffix . . . and the question is what for? Perhaps so it can be loaded again by code which knows how to decompress them as images in LiveCode? After all you have to

Re: Parent of Target

2017-08-11 Thread Mark Waddingham via use-livecode
On 2017-08-10 21:10, Richard Gaskin via use-livecode wrote: How might I measure the benefits of long ID caching? It isn't long ids which are cached - it is ids. I made a few adjustments, tweaked a few things to remove some overheads which aren't relevant here: private function MarkObjRef1

Re: JPNG

2017-08-11 Thread Richmond Mathewson via use-livecode
On 8/11/17 11:13 am, Mark Waddingham via use-livecode wrote: On 2017-08-11 09:29, Richmond Mathewson via use-livecode wrote: In theory that sounds both impressive and useful . . . But, what, apart from your stack can read the format/compression method properly. I think Hermann's suggestion

Re: JPNG

2017-08-11 Thread Mark Waddingham via use-livecode
On 2017-08-11 09:29, Richmond Mathewson via use-livecode wrote: In theory that sounds both impressive and useful . . . But, what, apart from your stack can read the format/compression method properly. I think Hermann's suggestion is a bespoke way of reducing resource size for built apps and

Re: Mobile LC Apps Downloading Stacks After installation

2017-08-11 Thread Mark Waddingham via use-livecode
Okay so the thread from which this post came has some glaringly large and obvious incorrect statements in it so I think it wise I correct them. First of all being able to submit apps to the App Stores which exist today is critically important to our ecosystem - those App Stores come with

Re: JPNG

2017-08-11 Thread Richmond Mathewson via use-livecode
In theory that sounds both impressive and useful . . . But, what, apart from your stack can read the format/compression method properly. Also, for the sake of argument: LiveCode can export images in the .PNG, .JPG, .GIF and the (horribly obscure ?) .PBM formats. Can your stack export a

  1   2   >