Re: Repeat syntax addition

2015-04-05 Thread Mike Bonner
Use of the word "Container" is a bit deceptive. Perhaps "datasource" would be better. Is it still possible to add notes to the dictionary? On Sun, Apr 5, 2015 at 5:11 PM, Peter Haworth wrote: > I'd guess the last of the options. > > The more I think about this, the more I think there should be

Re: Getting update for mobGUI??

2015-04-05 Thread William Prothero
Gerry: The Buy button takes me to the livecode store, but it doesn’t show up. I’ll see if I can get hold of John. Bill > On Apr 5, 2015, at 7:26 PM, Gerry wrote: > >> Is it still alive and well? The mobGUI site takes me to the livecode site, >> then I get no listing for mobGUI. > > I have 1.2

Re: Getting update for mobGUI??

2015-04-05 Thread Gerry
> Is it still alive and well? The mobGUI site takes me to the livecode site, > then I get no listing for mobGUI. I have 1.27 and 1.28 is the latest. mobgui.com still takes me to the site for the plugin. Gerry ___ use-livecode mailing list use-livecode

Re: Getting update for mobGUI??

2015-04-05 Thread Monte Goulding
The third party marketplace is in a bit of a transition at the moment so it might be worth contacting John directly. Cheers Monte -- M E R Goulding Software development services mergExt - There's an external for that! > On 6 Apr 2015, at 11:30 am, William Prothero wrote: > > I’m looking aro

Re: HTML5 Export and Javascript

2015-04-05 Thread Shawn Beagle
Bi-directional JS is already being done, even in production. I don’t know what the plans are or how it’ll work with LC, but if it’s anything like some of the solutions out there now that connect to a mongoldb painlessly and is reactive in both the client and the server … it’ll be an awesome LC

Getting update for mobGUI??

2015-04-05 Thread William Prothero
I’m looking around fro where I get an update for MobGUI. I have an older version and am starting to do some work with mobile, so need the latest version. Is it still alive and well? The mobGUI site takes me to the livecode site, then I get no listing for mobGUI. Best, Bill William A. Prothero

Re: HTML5 Export and Javascript

2015-04-05 Thread Colin Holgate
Not LC, but I’ve done some higher level tools exporting to HTML5 stuff already. What you end up with is going to be Javascript, and HTML DOM. The higher level tool needs to give access to the DOM, at which point you should be able to talk to any other Javascript on the page.

Re: HTML5 Export and Javascript

2015-04-05 Thread Roger Eller
I don't know why not, Richard. I was only replying to the OP with the last thing I heard about LC>html5, and that was way back when the crowd-funding campaign ended. It sounded like it was going to be limited, but that was very early in the planning phase. If there is now a way, then that is ter

Re: Repeat syntax addition

2015-04-05 Thread Peter Haworth
I'd guess the last of the options. The more I think about this, the more I think there should be mention of this in the dictionary entry for repeat. It's a little like the ability to use a function to create a sortkey in the sort command. Nothing in the dictionary about that except for a user no

Re: Repeat syntax addition

2015-04-05 Thread Mike Bonner
Yeah, kinda makes sense that it would work that way. Grab the data from the container once, do magic things behind the scenes to get it ready to go, then loop through the lines. I guess it could work either way though, where it uses byte offsets to get the next chunk, which would have made the fun

Re: Repeat syntax addition

2015-04-05 Thread Jerry Jensen
Hi Mike, > On Apr 5, 2015, at 12:31 PM, Mike Bonner wrote: > > While not exactly whats been requested, this works pretty well: > >repeat for each line tLine in (myFilter(sData,"abc*","with")) > > I like the way a where clause reads as in the OP, but being able to use an > inline function f

Re: Repeat syntax addition

2015-04-05 Thread Mike Bonner
Actually, if the container is on the receiving end rather than the source end, it wouldn't work. But other than that, yeah. (obviously you can't "put" something into a function) There may be other exceptions I haven't though of. On Sun, Apr 5, 2015 at 2:41 PM, Mike Bonner wrote: > Most likely

Re: Please recommend a text editor

2015-04-05 Thread Jerry Jensen
> On Apr 5, 2015, at 4:20 AM, Peter TB Brett wrote: > On all other platforms I use GNU Emacs, the one editor to rule them all, the > ultimate editor, the true choice of Real Programmers, etc. etc. "I refuse to get involved in a theological argument." - Charlie Brown ___

Re: Repeat syntax addition

2015-04-05 Thread Mike Bonner
Most likely yeah. I wouldn't swear 100% (I like to TRY first lol) but it SHOULD work. On Sun, Apr 5, 2015 at 2:40 PM, Peter Haworth wrote: > Wow, didn't know that, thanks. > > The dictionary doesn't give any clue that's possible, just uses "container" > as what follows "in". Does that mean tha

Re: Repeat syntax addition

2015-04-05 Thread Peter Haworth
Wow, didn't know that, thanks. The dictionary doesn't give any clue that's possible, just uses "container" as what follows "in". Does that mean that anywhere the dictionary uses the word container, it can be a function call? Pete lcSQL Software Home of lcStackBrowser

Re: Stack style

2015-04-05 Thread Richmond
I just knocked together a stack "Non Sense" with 2 substacks; "Sub Stak" & "Rub Bish" ["Rub Bish" is palettised]. I then put a button on the main stack and a list field "OOT". The button has this script: on mouseUp put the mode of stack "Sub Stak" into line 1 of fld "OOT" put the mode of

Re: Repeat syntax addition

2015-04-05 Thread Mike Bonner
As long as you wrap your function in parens so that it forces evaluation first, then yeah. Have the function do your filter, and then return the filtered data. (not positive you even need the extra parens, but its a habit for me in cases like this.) repeat for each doesn't really care where the

Re: Repeat syntax addition

2015-04-05 Thread Peter Haworth
Hi Mike, I like that. Are you saying you can do that now? Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sun, Apr 5, 2015 at 12:31 PM, Mike Bonner wrote: > While not exactly

Re: Repeat syntax addition

2015-04-05 Thread Peter Haworth
Nic Ralph. Useful where you don;t want to incur the overhead of repeat with but still need a counter. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sun, Apr 5, 2015 at 12:03 P

Re: Stack style

2015-04-05 Thread Peter Haworth
Thanks Klaus, hadn't come across that before. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sun, Apr 5, 2015 at 12:35 PM, Klaus major-k wrote: > Hi Pete, > > > Am 05.04.2015

Re: Stack style

2015-04-05 Thread Klaus major-k
Hi Pete, > Am 05.04.2015 um 20:17 schrieb Peter Haworth : > > I'm trying to get a list of toplevel stacks from the openStacks list by > checking the style of each stack. Some stacks which from their visual > appearance are clearly palettes are reported with a style of toplevel. > > Anyone know

Re: Repeat syntax addition

2015-04-05 Thread Mike Bonner
While not exactly whats been requested, this works pretty well: repeat for each line tLine in (myFilter(sData,"abc*","with")) I like the way a where clause reads as in the OP, but being able to use an inline function for data generation is rather powerful, and if all you need is a filter, set

RE: Repeat syntax addition

2015-04-05 Thread Ralph DiMola
Wouldn't it be nice if you could: Repeat for each line tLine in tLines index tIndex End repeat Where tIndex goes from 1 to (in this case) the number of lines in tLines. With such an elegant repeat loop in LC it kills me to do a: Local tIndex put 1 into tIndex Repeat for each line tLine in tLine

Re: Android local notifications

2015-04-05 Thread J. Landman Gay
On 4/4/2015 12:08 AM, Bernard Devlin wrote: I assume you are trying to send a push notification from one Livecode app to another. Thanks for the info, Bernard. I'm not actually trying to send a notification to another app, the stack is more a reminder system. Notifications are generated by th

Stack style

2015-04-05 Thread Peter Haworth
I'm trying to get a list of toplevel stacks from the openStacks list by checking the style of each stack. Some stacks which from their visual appearance are clearly palettes are reported with a style of toplevel. Anyone know why that is and how I can get a list of stacks which are genuinely tople

Re: Repeat syntax addition

2015-04-05 Thread Peter Haworth
Because I might not want to eliminate the lines beginning with "xyz" from the list, just not process them within the repeat loop, there's a difference. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin

Re: Repeat syntax addition

2015-04-05 Thread Paul Dupuis
On 4/5/2015 12:54 PM, Peter Haworth wrote: > Wouldn't it be nice if you could: > > repeat for each line rLine in tLines where rLine begins with "xyz" > . > end repeat > > I know it's trivial to test the condition within the repeat loop but having > "where" " seems more elegant somehow. Why not: f

Re: Repeat syntax addition

2015-04-05 Thread Richmond
On 05/04/15 19:54, Peter Haworth wrote: Wouldn't it be nice if you could: repeat for each line rLine in tLines where rLine begins with "xyz" . end repeat I know it's trivial to test the condition within the repeat loop but having "where" " seems more elegant somehow. Pete Certainly seems a

Repeat syntax addition

2015-04-05 Thread Peter Haworth
Wouldn't it be nice if you could: repeat for each line rLine in tLines where rLine begins with "xyz" . end repeat I know it's trivial to test the condition within the repeat loop but having "where" " seems more elegant somehow. Pete lcSQL Software Home of lcStackBrowser

Re: HTML5 Export and Javascript

2015-04-05 Thread Richard Gaskin
Roger Eller wrote: > vOn Apr 5, 2015 7:42 AM, "David Bovill" wrote: > >> Anyone have any thoughts on how an HTML5+Javascript exported Livecode >> application would / could interface with the rest of the Javascript >> world? > > I'm not sure if it will even be possible; it was certainly never thei

Re: LiveNode Server

2015-04-05 Thread Richard Gaskin
David Bovill wrote: > On 5 April 2015 at 05:01, Richard Gaskin wrote: > >> David Bovill wrote: >> > I am not quite sure what not being forkable is here - can you >> > explain. >> >> Not as well as Andre: >> > Ok - so th

Re: Please recommend a text editor

2015-04-05 Thread Richard Gaskin
Simon Knight wrote: You raise some interesting and in some ways disturbing questions. Why are we seemingly locked into an endless cycle of replacing working equipment with new more expensive versions? Read Victor Papanek's "Design for the Real World". -- Richard Gaskin Fourth World Systems

Re: HTML5 Export and Javascript

2015-04-05 Thread Roger Eller
I'm not sure if it will even be possible; it was certainly never their intent. The obfuscation is like a tamper-resistant seal on a medicine bottle. Nothing is hack-proof, but it won't be easy, unless LiveCode provides some special preference to leave certain sections of code "programmer readable

Re: Please release me, let me go. (Richmond)

2015-04-05 Thread Richmond
On 05/04/15 14:35, David Milne wrote: Hi, In response to Richmond's post -Just to be awkward (for a change . . . no irony intended), if 6.7.4 is --built so that it will run on Windows XP [ a system released in 2001 ] why is it not built so that -it can run on -Mac OS 10.4 PPC [ a system release

Re: Getting in a mix-up with COMn

2015-04-05 Thread Kay C Lan
On Sat, Apr 4, 2015 at 2:14 AM, stephen barncard < stephenrevoluti...@barncard.com> wrote: > > 'end' is another unrelated keyword. > > try > > read from file "COM3:" until eof > I appreciate that Richmond may have is answer but if you are aware of something that is in contradiction to the officia

HTML5 Export and Javascript

2015-04-05 Thread David Bovill
Anyone have any thoughts on how an HTML5+Javascript exported Livecode application would / could interface with the rest of the Javascript world? The exported Javascript would be obfuscated in machine optimised exported whatsits. So how would a Javascript programmer interface with this app? how wou

Re: LiveNode Server

2015-04-05 Thread David Bovill
Ok - so the key sentance there is - "We can't fork in revolution". So what does that mean? What is so special about Livecode that it can't do this? It's not multi-threading - it's something ? My thinking is that what we need is to be able to have some existing monitoring service keep a pool of

Re:Please release me, let me go. (Richmond)

2015-04-05 Thread David Milne
Hi, In response to Richmond's post -Just to be awkward (for a change . . . no irony intended), if 6.7.4 is --built so that it will run on Windows XP [ a system released in 2001 ] why is it not built so that -it can run on -Mac OS 10.4 PPC [ a system released in 2005 ], or, for that matter, Mac -O

Re: Please recommend a text editor

2015-04-05 Thread Peter TB Brett
On 2015-04-04 15:52, Shawn Beagle wrote: I’ve used TextWrangler, TextEdit, WebStorm, Coda2, Sublime Text2 & 3, Brackets, and now use Atom. I prefer Atom, mainly because of the packets manager, and that it’s open source. I'm currently using Atom on OS X. On all other platforms I use GNU Emacs,

Re: Please recommend a text editor

2015-04-05 Thread Peter TB Brett
On 2015-04-04 11:12, Richmond wrote: Where the website refers to "Revolution" read 'LiveCode', where the website refers to "Transcript" read whatever-the-heck the programming language in LiveCode is currently called, if anything at all. If it helps, in the office we currently refer to the "tra

Re: Please recommend a text editor

2015-04-05 Thread Richmond
On 05/04/15 11:14, Simon Knight wrote: Richmond, You raise some interesting and in some ways disturbing questions. That's because I am both interesting and disturbing . . . LOL I remember watching the very good film of "Far from the Madding Crowd" with Alan Bates and Julie Christie when I

Re: Please recommend a text editor

2015-04-05 Thread Simon Knight
Richmond, You raise some interesting and in some ways disturbing questions. Why are we seemingly locked into an endless cycle of replacing working equipment with new more expensive versions? In early days the improvements were real with greater storage and improved graphics. I bought my fir