Re: English Like?

2017-05-24 Thread Mark Wieder via use-livecode
On 05/24/2017 06:56 PM, Mike Kerner via use-livecode wrote: so, @markwieder, are you not a fan of synonyms? Eh? No, very much am. Just usually get my hand slapped when I suggest that to the team. -- Mark Wieder ahsoftw...@gmail.com ___

Re: English Like?

2017-05-24 Thread Mark Wieder via use-livecode
On 05/24/2017 09:18 PM, J. Landman Gay via use-livecode wrote: I suspect 48% of readers will remember one of those over the others. ...wait... there was more than one? -- Mark Wieder ahsoftw...@gmail.com ___ use-livecode mailing list

Re: English Like?

2017-05-24 Thread J. Landman Gay via use-livecode
Now I only have to remember whether it's clockwise or the other one. Use a mnemonic like "all cows eat grass" and "good boys do fine always": Little Tykes Read Books Lethal Tornadoes Ruin Buildings Lowly Tadpoles Release Bubbles Loose Tops Reveal Boo... er, Bosoms I suspect 48% of readers

Re: English Like?

2017-05-24 Thread Jerry Jensen via use-livecode
On May 24, 2017, at 2:30 PM, Mark Wieder via use-livecode wrote: > > On 05/24/2017 01:41 PM, Scott Rossi via use-livecode wrote: >> @Mark — the sequence/direction is clockwise, if that helps. So top -> left… >> doesn’t work. > > That does, in a way. > Now I

Re: Sql problem

2017-05-24 Thread William Prothero via use-livecode
Folks: Thanks for the comments. I bet the linefeeds caused me the problem, since I just took the contents of a text field, put them in an array, and didn’t pay attention to linefeeds. Now I remember why I didn’t try to directly connect to the dB. The security issue makes it inadvisable to go

Porridge (was Re: English Like?)

2017-05-24 Thread James Hale via use-livecode
Richard wrote: > For those who like salt in their porridge there's LiveCode, and for > those who prefer sugar, or syrup, or prunes in their porridge > there are other puddings on offer. I actually like both. Couldn't imagine not putting salt in the porridge. Then once it is cooked, add sugar

Printed dictionary (was Re: send mouseup to control)

2017-05-24 Thread James Hale via use-livecode
In following them discussion on execution contexts Richard wrote: > The executionContexts is documented, though in all fairness that Dict > entry includes a note about not relying on the format of its contents. Normally I would moan to myself about how I would like to look that up but as I am

Re: Is there any way at all to have a mobile app simply resume rather than restart?

2017-05-24 Thread Mike Kerner via use-livecode
I'm pretty sure you can't do it while it's still in the applications folder. You have to command-drag it out of the applications folder, first, before you modify it - at least I do, anyway. On Wed, May 24, 2017 at 5:57 PM, Jonathan Lynch via use-livecode < use-livecode@lists.runrev.com> wrote:

Re: Dropbox v1 API - one month until it is shut off!

2017-05-24 Thread Mike Kerner via use-livecode
and unless I'm missing it, it's not in 9, yet. I don't see it in dp6. On Wed, May 24, 2017 at 9:58 PM, Mike Kerner wrote: > Mainly what I was trying to remind everyone was that they have to get > their code changed, asap. > > On Wed, May 24, 2017 at 6:05 PM, Monte

Re: Dropbox v1 API - one month until it is shut off!

2017-05-24 Thread Mike Kerner via use-livecode
Mainly what I was trying to remind everyone was that they have to get their code changed, asap. On Wed, May 24, 2017 at 6:05 PM, Monte Goulding via use-livecode < use-livecode@lists.runrev.com> wrote: > We have a derivative of Gerard’s library in LC 9: > >

Re: English Like?

2017-05-24 Thread Mike Kerner via use-livecode
so, @markwieder, are you not a fan of synonyms? On Wed, May 24, 2017 at 8:31 PM, Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote: > On 05/24/2017 03:38 PM, Richard Gaskin via use-livecode wrote: > >> Mark Wieder wrote: >> >> > Now I only have to remember whether it's

Re: Writing Extensions

2017-05-24 Thread Kay C Lan via use-livecode
And this is exactly why I love Switch, that I can use Case as an OR statement whilst using soft wrap \ (CR) for making the script more readable and understandable as the indenting is different. My specific situation is I have 99 objects that I need to test. Some are booleans, some integers, some

Re: English Like?

2017-05-24 Thread Mark Wieder via use-livecode
On 05/24/2017 03:38 PM, Richard Gaskin via use-livecode wrote: Mark Wieder wrote: > Now I only have to remember whether it's clockwise or the other one. > And that it doesn't start at the top - TopRightBottomLeft seems more > clockwise to me. Or at least more like a clock. And to the team

Re: English Like?

2017-05-24 Thread Mark Wieder via use-livecode
On 05/24/2017 02:57 PM, Alejandro Tejada via use-livecode wrote: Or you could remember that the Rectangle of a control is a repetition of two coordinates: xyxy Left and Right are on X axis Top and Bottom are on Y axis. Indeed - so it's like two points (x,y) , (x,y): leftTop, rightBottom.

Re: English Like?

2017-05-24 Thread Richard Gaskin via use-livecode
Mark Wieder wrote: > Now I only have to remember whether it's clockwise or the other one. > And that it doesn't start at the top - TopRightBottomLeft seems more > clockwise to me. Or at least more like a clock. And to the team that designed CSS. -- Richard Gaskin Fourth World Systems

Re: breakpoint on parameter

2017-05-24 Thread Quentin Long via use-livecode
sez "J. Landman Gay" : | On 5/23/17 10:36 AM, Matt Maier via use-livecode wrote: | > I want to find out which parts of my code are making changes to a control's | > parameter. Specifically, I've got an arrow that I want to be black, and it | > is black when it's created,

Re: Writing Extensions

2017-05-24 Thread Monte Goulding via use-livecode
> On 24 May 2017, at 10:21 pm, Mark Waddingham via use-livecode > wrote: > >> Switch in LCB -- Monte asked to have the opportunity to do the job: >> http://forums.livecode.com/viewtopic.php?p=131509#p131509 >>

Re: Dropbox v1 API - one month until it is shut off!

2017-05-24 Thread Monte Goulding via use-livecode
We have a derivative of Gerard’s library in LC 9: https://github.com/livecode/livecode/blob/develop/extensions/script-libraries/dropbox/dropbox.livecodescript There is not much point

English Like?

2017-05-24 Thread Alejandro Tejada via use-livecode
Or you could remember that the Rectangle of a control is a repetition of two coordinates: xyxy Left and Right are on X axis Top and Bottom are on Y axis. > on 05/24/2017 01:41 PM, Scott Rossi wrote: > the sequence/direction is clockwise, if that helps. > So top -> left… doesn’t work. > Mark

Re: Is there any way at all to have a mobile app simply resume rather than restart?

2017-05-24 Thread Jonathan Lynch via use-livecode
This is great Ralph Thank you I wonder if this can open up other possibilities as well Sent from my iPhone > On May 24, 2017, at 5:17 PM, Ralph DiMola wrote: > > 1) Go to the Applications folder > 2) Right click on the LC app you are using and select "Show Package

Re: English Like?

2017-05-24 Thread Mark Wieder via use-livecode
On 05/24/2017 05:43 AM, Mike Kerner via use-livecode wrote: One of the other things that the xtalk languages have that makes them more appealing is synonyms -- Mark Wieder ahsoftw...@gmail.com ___ use-livecode mailing list

Re: English Like?

2017-05-24 Thread Mark Wieder via use-livecode
On 05/24/2017 08:03 AM, Mark Waddingham via use-livecode wrote: > Syntax is an emotive issue (I could beat Python to death with some of the decisions they have made about syntax - but yet I still use it and slightly enjoy doing so for the purposes I use it for) - but it is not the

Re: English Like?

2017-05-24 Thread Mark Wieder via use-livecode
On 05/24/2017 01:41 PM, Scott Rossi via use-livecode wrote: @Mark — the sequence/direction is clockwise, if that helps. So top -> left… doesn’t work. That does, in a way. Now I only have to remember whether it's clockwise or the other one. And that it doesn't start at the top -

[ANN] This Week in LiveCode 83

2017-05-24 Thread Alejandro Tejada via use-livecode
This Week in LiveCode Newsletter wrote: > Peter Brett has sadly left us for pastures new, > we wish him all the best in his new post and > he will of course be missed. Our thanks for > his sterling contribution to advancing LiveCode > over the last few years. I visited Peter's blog looking for

RE: Is there any way at all to have a mobile app simply resume rather than restart?

2017-05-24 Thread Ralph DiMola via use-livecode
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 "Tools/Runtime/iOS" folder 4) Right click on all the device/simulator folders one at a time and select "Get Info" 5) At the bottom click on the "Read only" to the right

Re: English Like?

2017-05-24 Thread Scott Rossi via use-livecode
@Mark — the sequence/direction is clockwise, if that helps. So top -> left… doesn’t work. Scott Rossi Creative Director Tactile Media, UX/UI Design > On May 24, 2017, at 12:35 PM, Mark Wieder via use-livecode > wrote: > > On 05/24/2017 12:25 PM, Alex

Re: Is there any way at all to have a mobile app simply resume rather than restart?

2017-05-24 Thread Jonathan Lynch via use-livecode
I don't actually know how to do any of the steps for this - would be easy on a pc. Researching it now. Sent from my iPhone > On May 24, 2017, at 4:27 PM, jonathandly...@gmail.com wrote: > > I read that on the forums, but I defer to Ralph on this. > > I am playing with the hack now. > > I

Re: Is there any way at all to have a mobile app simply resume rather than restart?

2017-05-24 Thread Jonathan Lynch via use-livecode
I read that on the forums, but I defer to Ralph on this. I am playing with the hack now. I think I could also have a legitimate reason for playing audio - changing the music as a user gets closer to a marker - but that would be a lot of trouble to set up right now. Sent from my iPhone > On

Re: English Like?

2017-05-24 Thread Ali Lloyd via use-livecode
All this chat reminds me about this old pull request: https://github.com/livecode/livecode/pull/1587/files and blog post https://livecode.com/extending-the-refactored-engine-properties/ the top/bottom/left/right/middle/area etc of rect could probably be done in the same way. OK so it's maybe not

Re: Is there any way at all to have a mobile app simply resume rather than restart?

2017-05-24 Thread Mike Kerner via use-livecode
Are you sure? I'm pretty sure I have at least a couple of apps I built in 8 that still use the hack. On Wed, May 24, 2017 at 3:54 PM, Jonathan Lynch via use-livecode < use-livecode@lists.runrev.com> wrote: > It looks like the plist hack is not available in version 8. > > Choosing background

RE: Is there any way at all to have a mobile app simply resume rather than restart?

2017-05-24 Thread Ralph DiMola via use-livecode
Jonathan, This works in V8/V9. I don't make a copy. 1) In the app bundle look in the folder ==>"Tools/Runtime/iOS" set all the folders to read/write. 2) Edit the setting.plist in each of the folders and change UIApplicationExitsOnSuspend key value to "False" (or like I do...delete the key all

Re: Is there any way at all to have a mobile app simply resume rather than restart?

2017-05-24 Thread Jonathan Lynch via use-livecode
It looks like the plist hack is not available in version 8. Choosing background audio works - but that means I need to have a plausible reason for having background audio or Apple reviewers might ding the app. What a pain - why not just allow it to work the way other apps work? Sent from my

Re: Is there any way at all to have a mobile app simply resume rather than restart?

2017-05-24 Thread Mike Kerner via use-livecode
The other thing to remember is that you will have to command-drag the LC app out of your Applications folder, modify it, then put it back (you can't modify an application in the applications folder). On Wed, May 24, 2017 at 3:43 PM, Jonathan Lynch via use-livecode < use-livecode@lists.runrev.com>

Re: send mouseup to control

2017-05-24 Thread Richard Gaskin via use-livecode
Mark Wieder wrote: On 05/24/2017 11:50 AM, Richard Gaskin via use-livecode wrote: I'd go with executionContexts. Are there circumstances where this wouldn't work?: function CallerID -- Line -1 = this function -- Line -2 = the script that called this function -- so: return

Re: English Like?

2017-05-24 Thread Alex Tweedly via use-livecode
Then I'll confess that what I would actually do is - make them globals (??!!) - initialize them in the "on librarystack" handler of my standard (i.e. always used) library stack - and be comforted that my use of 'explicitvars' will ensure I know if they are not included as global in any

Re: English Like?

2017-05-24 Thread Roger Eller via use-livecode
On Wed, May 24, 2017 at 12:47 PM, Mark Waddingham via use-livecode < use-livecode@lists.runrev.com> wrote: > Hehe - what an enjoyable post to read - I couldn't resist 'biting' > on a few things though ;) > > On 2017-05-24 17:57, Richmond Mathewson via use-livecode wrote: > >> Probably most of

Re: Is there any way at all to have a mobile app simply resume rather than restart?

2017-05-24 Thread Jonathan Lynch via use-livecode
Thank you! Sent from my iPhone > On May 24, 2017, at 3:34 PM, Mike Kerner via use-livecode > wrote: > > If you're referring to ios, look up "plist hack", here. The only thing to > remember is that for each version of LC, you have to perform the hack, > again,

Dropbox v1 API - one month until it is shut off!

2017-05-24 Thread Mike Kerner via use-livecode
Reminder, everyone using dropbox, you have until the end of June to get your apps migrated to the v2 API before your dropbox functionality will cease. Rumor says that the Dropbox team is granting reprieves to people who ask for them, but I don't know if that's for everyone for every app. If you

Re: Is there any way at all to have a mobile app simply resume rather than restart?

2017-05-24 Thread Mike Kerner via use-livecode
If you're referring to ios, look up "plist hack", here. The only thing to remember is that for each version of LC, you have to perform the hack, again, until Edinburgh gives us a Standalone Settings option. On Wed, May 24, 2017 at 3:22 PM, Jonathan Lynch via use-livecode <

Re: English Like?

2017-05-24 Thread Mark Wieder via use-livecode
On 05/24/2017 12:25 PM, Alex Tweedly via use-livecode wrote: constant kRectLeft = 1, kRectTop = 2, kRectRight = 3, kRectBottom = 4 (or whatever ... haven't looked it up :-) Exactly the point. I'd have to store this somewhere, and either grab it each time I need it or look it up and reinvent

Re: English Like?

2017-05-24 Thread Alex Tweedly via use-livecode
constant kRectLeft = 1, kRectTop = 2, kRectRight = 3, kRectBottom = 4 (or whatever ... haven't looked it up :-) Alex. On 24/05/2017 18:27, Mark Wieder via use-livecode wrote: The one that's always bugged me is put item 2 of the rect of someObject into tVar Rects have a defined order of

Is there any way at all to have a mobile app simply resume rather than restart?

2017-05-24 Thread Jonathan Lynch via use-livecode
Having to restart the app from scratch sucks. I can store the current state, but my users would have to wait for the map widget to reload every time they came back from another app. Sent from my iPhone ___ use-livecode mailing list

Re: send mouseup to control

2017-05-24 Thread Mark Wieder via use-livecode
Heh. Couldn't resist adding this: https://techbeacon.com/35-bad-programming-habits-make-your-code-smell -- Mark Wieder ahsoftw...@gmail.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe

Re: send mouseup to control

2017-05-24 Thread Mark Wieder via use-livecode
On 05/24/2017 11:50 AM, Richard Gaskin via use-livecode wrote: Mark Wieder wrote: > You could pull the information out of the executionContexts, but you'd > probably be better off with a bit of refactoring. I'd go with executionContexts. Are there circumstances where this wouldn't work?:

Re: send mouseup to control

2017-05-24 Thread Richard Gaskin via use-livecode
Mark Wieder wrote: > You could pull the information out of the executionContexts, but you'd > probably be better off with a bit of refactoring. I'd go with executionContexts. Are there circumstances where this wouldn't work?: function CallerID -- Line -1 = this function -- Line -2 =

Re: send mouseup to control

2017-05-24 Thread Jonathan Lynch via use-livecode
I just send the ID of the sending object as a parameter. Sent from my iPhone On May 24, 2017, at 1:58 PM, hh via use-livecode wrote: >> Alejandro T. wrote: >> Reading LiveCode Dictionary about the target and send, >> could not find an obvious way to get the name

Re: English Like?

2017-05-24 Thread Mark Wieder via use-livecode
On 05/24/2017 10:54 AM, Mike Kerner via use-livecode wrote: like "put the left of someObject"? Heh. Shoulda used a different example. No, my problem is more with changing the rect of an object. Setting the left of an object has repercussions with respect to the other object parameters. If I

Re: English Like?

2017-05-24 Thread Lagi Pittas via use-livecode
Bob, You forget right upto Visual Foxpro 9, Fox still was backwards compatible with Dbase 2 and still had the STORE statement. STORE A TO B STORE 1+15 to C STORE 5 to a,b,,c,d STORE "HELLO" to message The HC and DBASE way is the logical way to do it for mere mortals, but when the whole

Re: send mouseup to control

2017-05-24 Thread hh via use-livecode
> Alejandro T. wrote: > Reading LiveCode Dictionary about the target and send, > could not find an obvious way to get the name of a message > sender without putting first this name in another container > (a custom property, a field or a global variable). Yet another option could be to use more

Re: send mouseup to control

2017-05-24 Thread Richmond Mathewson via use-livecode
Replied with demo stack on the Forums: http://forums.livecode.com/viewtopic.php?f=9=29290 Richmond. On 5/24/17 8:21 pm, Alejandro Tejada via use-livecode wrote: Hi All, Reading LiveCode Dictionary about the target and send, could not find an obvious way to get the name of a message sender

Re: English Like?

2017-05-24 Thread Mike Kerner via use-livecode
like "put the left of someObject"? On Wed, May 24, 2017 at 1:27 PM, Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote: > On 05/24/2017 08:11 AM, Martin Koob via use-livecode wrote: > >> I agree that LiveCode script should become more English like as time goes >> on >> not only

Re: English Like?

2017-05-24 Thread Bob Sneidar via use-livecode
I'll bite. One of the reasons that the heartbleed bug passed muster was because the code OpenSSL is written in is *not* easily human readable. It's hard enough to spot a bug in LC script. Being human readable makes it tolerable to debug by reading through code. The first time I encountered x

Re: English Like?

2017-05-24 Thread Dr. Hawkins via use-livecode
On Wed, May 24, 2017 at 10:27 AM, Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote: > Rects have a defined order of items, and I can never remember whether it's > "left,top..." or "top,left..." and I end up looking it up every time. I'd > love to have a more normal (all right,

Re: send mouseup to control

2017-05-24 Thread Dr. Hawkins via use-livecode
On Wed, May 24, 2017 at 10:21 AM, Alejandro Tejada via use-livecode < use-livecode@lists.runrev.com> wrote: > For now, I am using a mouseup button parameter that > could be 1 or 2 or 3. If the control receive a mouseup with > parameter 1, then executes handler 1. If the mouseup is > received with

Re: send mouseup to control

2017-05-24 Thread Phil Davis via use-livecode
Hi Al, I wonder if the "call" command could simplify things for you. (Probably not but I thought I would mention it.) Otherwise maybe put your mouseUp code in separate handlers outside of "mouseUp" so you can have more parameter options in their execution. Thanks - Phil Davis On 5/24/17

Re: send mouseup to control

2017-05-24 Thread Mark Wieder via use-livecode
On 05/24/2017 10:21 AM, Alejandro Tejada via use-livecode wrote: Hi All, Reading LiveCode Dictionary about the target and send, could not find an obvious way to get the name of a message sender without putting first this name in another container (a custom property, a field or a global

Re: English Like?

2017-05-24 Thread Mark Wieder via use-livecode
On 05/24/2017 08:11 AM, Martin Koob via use-livecode wrote: I agree that LiveCode script should become more English like as time goes on not only with english words but also with more natural(or intuitive) grammar. From your examples I think it would be more natural to type. put the

send mouseup to control

2017-05-24 Thread Alejandro Tejada via use-livecode
Hi All, Reading LiveCode Dictionary about the target and send, could not find an obvious way to get the name of a message sender without putting first this name in another container (a custom property, a field or a global variable). Why do I need to know which control send a message to another

Re: English Like?

2017-05-24 Thread Mark Wieder via use-livecode
On 05/24/2017 08:03 AM, Mark Waddingham via use-livecode wrote: Anyway, I shall now get off my (small?) soap-box. Again this is a discussion, there are lots of reasons why people don't choose LiveCode and we try our very best to determine them, and deal with them. There are certainly easier

Re: Sql problem

2017-05-24 Thread Bob Sneidar via use-livecode
My problem with that is that I use sqlYoga in a fairly complex app. How would I incorporate sqlYoga calls with a web interface and still retrieve the data in the same format as I currently have? If I cannot do that, then the burden of refactoring the entire application would be considerable.

Re: Writing Extensions

2017-05-24 Thread Mark Waddingham via use-livecode
On 2017-05-24 18:44, Mark Wieder via use-livecode wrote: As I said before, the lack of switch in LCB isn't because we don't want a construct like that; just that we'd like one which doesn't have the issues of C-style switch. (The best way to avoid people accidentally introducing subtle bugs, is

Re: English Like?

2017-05-24 Thread Mark Waddingham via use-livecode
Hehe - what an enjoyable post to read - I couldn't resist 'biting' on a few things though ;) On 2017-05-24 17:57, Richmond Mathewson via use-livecode wrote: Probably most of those programmers (like many well-established LiveCode programmers) have invested so much time and effort in learning the

Re: Writing Extensions

2017-05-24 Thread Mark Wieder via use-livecode
On 05/24/2017 03:25 AM, Mark Waddingham via use-livecode wrote: The use-case which causes subtle bugs and errors is where one case requires a 'bit more code' before the others (where code, fallthrough, code is *not* erroneous but intended) - also it is a rarely used pattern in C (because it

Re: breakpoint on parameter

2017-05-24 Thread Mark Wieder via use-livecode
On 05/24/2017 08:23 AM, Mark Waddingham via use-livecode wrote: Right now, though there might be a way in the IDE by using an IDE mechanism - the IDE has an API allowing an object to subscribe to a message when any properties of that object change: revIDESubscribe "idePropertyChanged",

Re: English Like?

2017-05-24 Thread Richmond Mathewson via use-livecode
On 5/24/17 6:19 pm, prothero--- via use-livecode wrote: Ok,ok, I hear y'all about the approachability of the htalk language. I do know that when we get familiar with an intellectual construct, we tend to give validity to information or attitudes that agree with that construct. Confirmation

[ANN] This Week in LiveCode 83

2017-05-24 Thread panagiotis merakos via use-livecode
Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #83 here: https://goo.gl/rRF66V This is a weekly newsletter about LiveCode, focussing on what's been going on in and around

Re: English Like?

2017-05-24 Thread Roger Eller via use-livecode
On Wed, May 24, 2017 at 11:03 AM, Mark Waddingham via use-livecode < use-livecode@lists.runrev.com> wrote: > On 2017-05-24 15:45, dunbarx via use-livecode wrote: > >> There is a far more important issue here. New learners are far more >> likely to >> be coaxed into continuing to spend the time

Re: English Like?

2017-05-24 Thread Martin Koob via use-livecode
I agree that LiveCode script should become more English like as time goes on not only with english words but also with more natural(or intuitive) grammar. >From your examples I think it would be more natural to type. put the third index of tNumericArray into tFoo OR put the backColor of

Re: breakpoint on parameter

2017-05-24 Thread Mark Waddingham via use-livecode
On 2017-05-23 17:45, Richard Gaskin via use-livecode wrote: Matt Maier wrote: I want to find out which parts of my code are making changes to a control's parameter. Specifically, I've got an arrow that I want to be black, and it is black when it's created, but then it turns gray. I can't find

Re: English Like?

2017-05-24 Thread prothero--- via use-livecode
Ok,ok, I hear y'all about the approachability of the htalk language. I do know that when we get familiar with an intellectual construct, we tend to give validity to information or attitudes that agree with that construct. Confirmation bias seemed to be a huge factor in news "facts" acceptance

Re: breakpoint on parameter

2017-05-24 Thread Mark Waddingham via use-livecode
On 2017-05-23 17:57, Mark Wieder via use-livecode wrote: On 05/23/2017 08:45 AM, Richard Gaskin via use-livecode wrote: There's a request to allow getProp and setProp for built-in object properties: http://quality.livecode.com/show_bug.cgi?id=3126 ...and it's from 2005, rev version 2.6...

Re: English Like?

2017-05-24 Thread Mark Waddingham via use-livecode
On 2017-05-24 15:45, dunbarx via use-livecode wrote: There is a far more important issue here. New learners are far more likely to be coaxed into continuing to spend the time and effort, and to put away their fears, if they see and use "put x into y". It is why we have stacks and cards, and in

Re: English Like?

2017-05-24 Thread Mike Kerner via use-livecode
The problem with this idea is the need to register the device through apple's developer portal, but I wonder if testFlight could be leveraged to make that work. TestFlight apps are time-limited, so that takes care of that problem... On Wed, May 24, 2017 at 10:13 AM, Mike Kerner

Re: English Like?

2017-05-24 Thread Mike Kerner via use-livecode
That is certainly true. The approachability of the language is the hook that got me hooked, even though HC was my...8th? 9th? 15th? language. For beginners, we should be asking what else we can do to make their life easier. Community is free and it gets you in, but you can't build even the

Re: Writing Extensions

2017-05-24 Thread Mike Kerner via use-livecode
It's just difficult to get my brain wrapped around it, still. Elanor's course (that I think still has not been released to the public) was a help, but more of that is needed, since we aren't in your brain. On Wed, May 24, 2017 at 9:21 AM, Mark Waddingham via use-livecode <

Re: English Like?

2017-05-24 Thread dunbarx via use-livecode
There is a far more important issue here. New learners are far more likely to be coaxed into continuing to spend the time and effort, and to put away their fears, if they see and use "put x into y". It is why we have stacks and cards, and in the olden days, rolodexes. The original HC team did all

Re: English Like?

2017-05-24 Thread Mark Waddingham via use-livecode
On 2017-05-24 14:52, Lagi Pittas via use-livecode wrote: Mark You are a big Tease. Hehe - I don't mean to be a tease - making correct/good technical choices as to how things should work under the hood opens up an array of options for the future. We always try and design things with that in

Re: Writing Extensions

2017-05-24 Thread Mark Waddingham via use-livecode
On 2017-05-24 14:55, Mike Kerner via use-livecode wrote: On the CompileIt thoughts, that was what I was hoping we were going to get with LCB (We already have Double-XX). You could make any Mac Toolbox call in CompileIt, which meant you could build any XCMD/XFCN to add to your stack, but the

Re: Writing Extensions

2017-05-24 Thread Mike Kerner via use-livecode
I personally hate switch. That said, getting rid of the CR's would help make the new "choose" easier to read. If you want a CR, use \ choose tValue when 1 or 2 or 3 -- do something end choose choose tValue when 1\ or 2\ or 3 -- do something end choose On Wed, May 24, 2017 at 9:03 AM,

Re: Writing Extensions

2017-05-24 Thread Kay C Lan via use-livecode
On Wed, May 24, 2017 at 8:25 PM, Mark Waddingham via use-livecode wrote: > Thanks Mark for the explanation. > choose tValue > when 1 > when 2 > when 3 > -- executes if tValue is 1, 2 or 3 > -- never falls through > > when 4 > --

Re: Writing Extensions

2017-05-24 Thread Mike Kerner via use-livecode
On the CompileIt thoughts, that was what I was hoping we were going to get with LCB (We already have Double-XX). You could make any Mac Toolbox call in CompileIt, which meant you could build any XCMD/XFCN to add to your stack, but the syntax was still HC (with some restrictions). On Wed, May 24,

Re: English Like?

2017-05-24 Thread Lagi Pittas via use-livecode
Mark You are a big Tease. Lagi On 24 May 2017 at 13:13, Mark Waddingham via use-livecode < use-livecode@lists.runrev.com> wrote: > On 2017-05-17 22:41, William Prothero via use-livecode wrote: > >> Folks: >> It can be difficult for long term users of an application to >> appreciate the

Re: English Like?

2017-05-24 Thread Mike Kerner via use-livecode
One of the other things that the xtalk languages have that makes them more appealing is synonyms (and similarly, abbreviations), which makes it a much more personalized experience as a writer with fewer mental gymnastics. I tend to prefer the longer, more verbose forms when writing. I will open

Re: Writing Extensions

2017-05-24 Thread Mark Waddingham via use-livecode
On 2017-05-24 12:35, hh via use-livecode wrote: Switch in LCB -- Monte asked to have the opportunity to do the job: http://forums.livecode.com/viewtopic.php?p=131509#p131509 Yes... I'm not sure I quite see your point (especially as he said 'Is there any chance switch will be implemented as a

Re: English Like?

2017-05-24 Thread Mark Waddingham via use-livecode
On 2017-05-17 22:41, William Prothero via use-livecode wrote: Folks: It can be difficult for long term users of an application to appreciate the “exceptions” to the philosophy of a dev app. I think the livecode community is affected by “familiarity” over clarity sometimes. For years (when

LC 8.1.4 - referenced images doesn't load anymore

2017-05-24 Thread Tiemo Hollmann TB via use-livecode
Hello, Has anybody experienced the same? An image, which filename is referenced to the Resources folder, doesn't load anymore in LC 8.1.4 rc1 + 2 in a Mac Standalone. In LC 8.1.3 it works fine on Mac. In both versions the image is being copied into the bundle folder:

Re: Writing Extensions

2017-05-24 Thread hh via use-livecode
Switch in LCB -- Monte asked to have the opportunity to do the job: http://forums.livecode.com/viewtopic.php?p=131509#p131509 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: Writing Extensions

2017-05-24 Thread Mark Waddingham via use-livecode
On 2017-05-24 12:03, Mark Waddingham via use-livecode wrote: Perhaps a better model would be to use 'continue', rather than 'break': switch yourName case "Mark" -- do something and finish case "John" continue case "Jon" -- do something else end switch The idea being that

Re: Writing Extensions

2017-05-24 Thread Mark Waddingham via use-livecode
Hi Kay On 2017-05-24 10:19, Kay C Lan via use-livecode wrote: In that last one the only inference I could find was that due to the probability that in 97% of use 'fall through' is not intended, a whole heap of typing could be saved if no keyword (break) was required for the 97%, and a keyword

Re: Writing Extensions

2017-05-24 Thread Kay C Lan via use-livecode
On Wed, May 24, 2017 at 2:49 AM, Mark Waddingham via use-livecode wrote: > On 2017-05-23 18:02, Mark Wieder via use-livecode wrote: > > In regards to 'switch' - 'switch' in LiveCode copied the C 'switch' which > is pretty much universally considered to be one of the

Accesing Mac file icons

2017-05-24 Thread Michael Kristensen via use-livecode
Hi there There is some pretty big icons that show the content of a mac file. Fx graphics files show a picture of the actual graphic in the file. Is it possible to acces that icon or picture from livecode? Thanks Michael ___ use-livecode mailing list