Re: Handling of final delimter (was Re: this me?)

2013-08-12 Thread Terry Judd
On 12/08/2013, at 03:17 PM, Mark Wieder wrote: Terry- Sunday, August 11, 2013, 8:54:28 PM, you wrote: I agree with Mark that there are four lines there. The last one just happens to be empty. Terry... I do think that's a matter of semantics of the visual display, though, and

Re: git integration, but not of LC projects

2013-08-12 Thread Geoff Canyon
Well, I did start off with Has anyone looked at syncing a git repository through LC? Using shell commands is cheating ;-) Sent from my iPad On Aug 11, 2013, at 11:45 PM, Mark Wieder mwie...@ahsoftware.net wrote: Sunday, August 11, 2013, 9:32:26 PM, you wrote: Ah, but if you want to be able

Re: git integration, but not of LC projects

2013-08-12 Thread Geoff Canyon
Not necessarily, but responsiveness is key, and the data set is large. The target audience is developers , so git is likely to already be in their repertoire. Sent from my iPad On Aug 11, 2013, at 11:52 PM, Monte Goulding mo...@sweattechnologies.com wrote: Does your data really need to be

Re: git integration, but not of LC projects

2013-08-12 Thread Mark Wieder
Geoff- Monday, August 12, 2013, 5:32:26 AM, you wrote: Well, I did start off with Has anyone looked at syncing a git repository through LC? Using shell commands is cheating ;-) Ah. OK. I would never dream of messing with git repositories behind its back. Too much can go wrong. I'm quite happy

Re: Handling of final delimter (was Re: this me?)

2013-08-12 Thread Mark Wieder
Terry- Sunday, August 11, 2013, 11:04:26 PM, you wrote: Agreed - for practical purposes it's only 3 - although I still can't get out of the habit of deleting the trailing delimiter from a constructed list before processing it in a repeat loop. I do too. And for that reason, neither of us

Re: Handling of final delimter (was Re: this me?)

2013-08-12 Thread Devin Asay
On Aug 12, 2013, at 10:51 AM, Mark Wieder wrote: Terry- Sunday, August 11, 2013, 11:04:26 PM, Terry Judd wrote: Agreed - for practical purposes it's only 3 - although I still can't get out of the habit of deleting the trailing delimiter from a constructed list before processing it in a

Re: Handling of final delimter (was Re: this me?)

2013-08-12 Thread Mark Wieder
Devin- Monday, August 12, 2013, 10:30:29 AM, you wrote: You know how I get rid of trailing delimiters? put line 1 to -1 of tList into tList put item 1 to -1 of tItems into tItems Kills that dang dangling delimiter dead. Good one. I just opt for the chomp approach repeat while item

Re: Handling of final delimter (was Re: this me?)

2013-08-12 Thread Mike Kerner
Mark, That won't work because LC won't recognize the last item as empty. Thus put a, into goop delete item -1 of goop put goop will end up putting empty. I really want to fix this thing. On Mon, Aug 12, 2013 at 1:47 PM, Mark Wieder mwie...@ahsoftware.net wrote: Devin- Monday, August 12,

Re: Handling of final delimter (was Re: this me?)

2013-08-12 Thread Mark Wieder
Mike- Monday, August 12, 2013, 11:11:31 AM, you wrote: Mark, That won't work because Yep. Typing without thinking on my end. Need. More. Coffee. -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lists.runrev.com

Re: Corrupted Stack

2013-08-12 Thread Joe Hamburger
Hi Jacqueline, You're probably right in that my stack isn't corrupted. I appreciate the help from Mark, Richard and you. All my stacks are set up for the same version of the software, so that isn't the problem. I really don't know what's causing the program to force quit. I've tried everything

Re: Handling of final delimter (was Re: this me?)

2013-08-12 Thread Geoff Canyon
Another way: if char -1 of tList is the itemdelimiter then delete char -1 of tList For short lists, item 1 to -1 is faster. For long lists the above gets to be perhaps 5x faster. On Mon, Aug 12, 2013 at 12:30 PM, Devin Asay devin_a...@byu.edu wrote: On Aug 12, 2013, at 10:51 AM, Mark

Re: Handling of final delimter (was Re: this me?)

2013-08-12 Thread Mike Kerner
Geoff, I haven't messed with it, but does last char have the same performance as char -1? On Mon, Aug 12, 2013 at 3:32 PM, Geoff Canyon gcan...@gmail.com wrote: Another way: if char -1 of tList is the itemdelimiter then delete char -1 of tList For short lists, item 1 to -1 is faster.

Re: Handling of final delimter (was Re: this me?)

2013-08-12 Thread Mike Bonner
Just did a quick test with 1m lines getting the last char of each (for each line loop) using -1 and last, last is faster. 266 milliseconds for last char.. and 318 for char -1 On Mon, Aug 12, 2013 at 1:47 PM, Mike Kerner mikeker...@roadrunner.comwrote: Geoff, I haven't messed with it, but does

Re: Handling of final delimter (was Re: this me?)

2013-08-12 Thread Mark Wieder
Here's what I've ended up with. Thanks to everyone for all the discussion. I think it's a pretty elegant solution, doesn't change any existing scripts, and avoids conflicting stack properties. http://forums.runrev.com/viewtopic.php?f=66t=16383p=82961#p82961 -- -Mark Wieder

Re: git integration, but not of LC projects

2013-08-12 Thread Monte Goulding
On 12/08/2013, at 10:32 PM, Geoff Canyon gcan...@gmail.com wrote: Well, I did start off with Has anyone looked at syncing a git repository through LC? Using shell commands is cheating ;-) I take back the external idea as git is GPL so you couldn't distribute it on the app store. Can you

Re: Corrupted Stack

2013-08-12 Thread J. Landman Gay
On 8/12/13 1:56 PM, Joe Hamburger wrote: Can you think of anything that would cause a force quit? Does lLiveCode actually quit to the desktop? Or do you mean a hang, where the beachball spins forever and you have to manually force-quit? They're caused by different things. If it's the

Re: Handling of final delimter (was Re: this me?)

2013-08-12 Thread Geoff Canyon
On Mon, Aug 12, 2013 at 3:06 PM, Mike Bonner bonnm...@gmail.com wrote: Just did a quick test with 1m lines getting the last char of each (for each line loop) using -1 and last, last is faster. 266 milliseconds for last char.. and 318 for char -1 Confirmed here. In my test I was getting

Issues with minimizing under OS X?

2013-08-12 Thread Richard Gaskin
I have a report from one of my testers of the app's main window not being able to be restored when clicking on its icon in the Dock after having been minimized. I've been unable to reproduce this. I believe the user's system is OS X Mountain Lion (though I don't know for sure; awaiting