Re: RLE images

2014-07-14 Thread Thierry Douez
2014-07-15 1:06 GMT+02:00 J. Landman Gay > If anyone has definitive knowledge, please say. Otherwise I'll go with this. might be you are looking for paintCompression. Thierry ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit th

Re: [OT] SWIFT

2014-07-14 Thread Mark Wilcox
http://swift-lang.org/main/ This is the wrong Swift. Yes, Apple gave their new programming language the same name as an existing one. Mark ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and m

Re: [OT] SWIFT

2014-07-14 Thread Kay C Lan
On Tue, Jul 15, 2014 at 8:28 AM, kee nethery wrote: > Swift is going to have an amazingly fast adoption rate. > Apparently so... "Swift is flexible: its being used in many fields of science, engineering, and business. Read the case studies. " Which comes from: http://swift-lang.org/main/ Other

Re: Security hole?

2014-07-14 Thread stephen barncard
On Mon, Jul 14, 2014 at 7:28 PM, Peter Haworth wrote: > I guess it's not actually showing any code but feels like it should act the > same as trying to get the script of a password protected stack. > not unless you don't want to run the scripts... *--* *Stephen Barncard - San Francisco Ca. USA

Security hole?

2014-07-14 Thread Peter Haworth
I can't decide if this is a problem or not but the revAvailableHandlers function happily returns information about handlers in a password protected stack without requiring the password. I guess it's not actually showing any code but feels like it should act the same as trying to get the script of

Re: [OT] SWIFT

2014-07-14 Thread kee nethery
Swift is going to have an amazingly fast adoption rate. People learned Objective-C to write Apple apps. It’s not really usable for anything else. All those people using Objective-C will switch to Swift for several reasons; it is easier to learn (it has a playground), it is designed to prevent

Re: [OT] SWIFT

2014-07-14 Thread Jerry Jensen
On Jul 14, 2014, at 4:10 PM, stephen barncard wrote: > On Mon, Jul 14, 2014 at 1:56 PM, Jerry Jensen wrote: > >> I've been looking at Swift. Its very unlike LC. Its syntax is huge, very >> powerful and feature-ridden. > > > Available to ordinary MacOS Developers (currently unpaid) ? The bo

Re: [OT] SWIFT

2014-07-14 Thread stephen barncard
On Mon, Jul 14, 2014 at 1:58 PM, Richmond wrote: > Surely the sensible way to assess Swift is NOT to read silly articles, but > to download the language and > give it a try: > > https://developer.apple.com/swift/ > Downloading. thanks for the feedback. *--* *Stephen Barncard - San Francisco Ca.

Re: [OT] SWIFT

2014-07-14 Thread stephen barncard
On Mon, Jul 14, 2014 at 1:56 PM, Jerry Jensen wrote: > I've been looking at Swift. Its very unlike LC. Its syntax is huge, very > powerful and feature-ridden. Available to ordinary MacOS Developers (currently unpaid) ? *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* _

Re: RLE images

2014-07-14 Thread J. Landman Gay
On 7/14/2014, 4:24 PM, Richmond wrote: "Open the paint tools in RR and use the eraser to click each image, then, immediately click undo: this converts all images into internal bitmap format. However this means that the files grow to about twice their original size." So . . . presumably if that

Re: Datagrid column of data with trailing spaces

2014-07-14 Thread Skip Kimpel
Aha You hit in something It IS coming from a SQL database Eliminate the problem before it gets into a datagrid. Let me play with that. In any case you were ALL very helpful... As always. Very much appreciated. SKIP > On Jul 14, 2014, at 5:47 PM, Peter Haworth wrote: > > One othe

Re: Datagrid column of data with trailing spaces

2014-07-14 Thread Phil Davis
Good deal! I'm sure Peter's solution works as well - I just don't know regex well enough to be effective with it. Phil On 7/14/14, 2:38 PM, Magicgate Software - Skip Kimpel wrote: Phil, That did it! I had already started to test the previous code you sent and it wasn't working as expected.

Re: Datagrid column of data with trailing spaces

2014-07-14 Thread Peter Haworth
One other thought. Is the data coming for an SQL database? If so then this will do it for you: SELECT rtrim() FROM.. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Mon,

Re: Datagrid column of data with trailing spaces

2014-07-14 Thread Peter Haworth
Yes indeed Skip, regex is the way to go :-) matchText(theColumn,"^(.*?)\s*$",tOutput) should put the text minus trailing spaces into the tOutput variable. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin

Re: Datagrid column of data with trailing spaces

2014-07-14 Thread Magicgate Software - Skip Kimpel
Phil, That did it! I had already started to test the previous code you sent and it wasn't working as expected. Your modified code works perfectly. Thank you! SKIP On Mon, Jul 14, 2014 at 5:30 PM, Phil Davis wrote: > Oops. I should read your problem description better before I try to solve >

Re: [OT] SWIFT

2014-07-14 Thread Erik Beugelaar
I always get tired of this kind of announcements concering 'new halleluja" program languages... the only real language ever born was C and to be more specific: plain C. Even C++ with only new so called OO (just another notation of writing seperation of data and methods just as Swift now with ano

Re: Datagrid column of data with trailing spaces

2014-07-14 Thread Phil Davis
Oops. I should read your problem description better before I try to solve it. put the dgText of grp "dgTryAgain" into tText split tText by column repeat for each line tLine in tText[1] put word 1 to -1 of tLine & CR after tNewCol end repeat delete last char of tNewCol put tNewCol into tText[

Re: RLE images

2014-07-14 Thread J. Landman Gay
On 7/14/2014, 4:06 PM, Richmond wrote: On 14/07/14 23:42, J. Landman Gay wrote: It used to be that any image imported into a stack, regardless of the original format, was converted to RLE. Is that still the case, or are they now saved as the original jpg, png, etc. ? Well? If there is a way

Re: RLE images

2014-07-14 Thread Richmond
On 14/07/14 23:42, J. Landman Gay wrote: It used to be that any image imported into a stack, regardless of the original format, was converted to RLE. Is that still the case, or are they now saved as the original jpg, png, etc. ? http://lists.runrev.com/pipermail/use-livecode/2003-June/017402.

Re: Datagrid column of data with trailing spaces

2014-07-14 Thread Phil Davis
put the dgText of grp "dgGrid" into tText repeat for each line tLine in tText put word 1 to -1 of tLine & CR after tNewText end repeat delete last char of tNewText set the dgText of grp "dgGrid" to tNewText :-) Phil Davis On 7/14/14, 1:56 PM, Magicgate Software - Skip Kimpel wrote: Good af

Re: Datagrid column of data with trailing spaces

2014-07-14 Thread J. Landman Gay
On 7/14/2014, 3:56 PM, Magicgate Software - Skip Kimpel wrote: Good afternoon, I have a datagrid and column 1 has trailing spaces in the data items that I need to get rid of. The number of trailing spaces is never consistent. Once again, I think regex will be my friend / worst enemy :) Sugges

Re: RLE images

2014-07-14 Thread Richmond
On 14/07/14 23:42, J. Landman Gay wrote: It used to be that any image imported into a stack, regardless of the original format, was converted to RLE. Is that still the case, or are they now saved as the original jpg, png, etc. ? Whoops: it's 2006 all over again: http://lists.runrev.com/pipe

Re: RLE images

2014-07-14 Thread Richmond
On 14/07/14 23:42, J. Landman Gay wrote: It used to be that any image imported into a stack, regardless of the original format, was converted to RLE. Is that still the case, or are they now saved as the original jpg, png, etc. ? Well? If there is a way to tell what format an embedded image

Re: [OT] SWIFT

2014-07-14 Thread Richmond
On 14/07/14 23:45, stephen barncard wrote: Apple is touting this like the second coming but... haven't we been doing this for a while in Revolution/RunRev/Livecode ? typeless just in time compiling prefab blocks easier than Obj C VERY FAST " it lets you write code on one side of your comput

Re: [OT] SWIFT

2014-07-14 Thread Jerry Jensen
I've been looking at Swift. Its very unlike LC. Its syntax is huge, very powerful and feature-ridden. Typeless: NOT. Its very strongly typed. Its smart about inferring types, but far from typeless. Very Fast: probably so. LC is NOT fast at executing, except compared to Hypercard. LC IS faster at

Datagrid column of data with trailing spaces

2014-07-14 Thread Magicgate Software - Skip Kimpel
Good afternoon, I have a datagrid and column 1 has trailing spaces in the data items that I need to get rid of. The number of trailing spaces is never consistent. Once again, I think regex will be my friend / worst enemy :) Suggestions on how to do this effectively? Thanks in advance for your

[OT] SWIFT

2014-07-14 Thread stephen barncard
Apple is touting this like the second coming but... haven't we been doing this for a while in Revolution/RunRev/Livecode ? typeless just in time compiling prefab blocks easier than Obj C VERY FAST " it lets you write code on one side of your computer screen and see the results appear on the o

RLE images

2014-07-14 Thread J. Landman Gay
It used to be that any image imported into a stack, regardless of the original format, was converted to RLE. Is that still the case, or are they now saved as the original jpg, png, etc. ? -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http:

Re: RevOnline & User Comments in the Dictionary

2014-07-14 Thread Charles E Buchwald
Thanks for the update, Richard. On 14 Jul 2014, at 11:44 AM, Richard Gaskin wrote: > Charles E Buchwald wrote: > > > I know this is just one more complaint about how broken RevOnline > > is... But it would be _really_ nice if it worked again. > > There's a project in the IDE Contributors secti

Re: RevOnline & User Comments in the Dictionary

2014-07-14 Thread Richard Gaskin
Charles E Buchwald wrote: > I know this is just one more complaint about how broken RevOnline > is... But it would be _really_ nice if it worked again. There's a project in the IDE Contributors section of the forum for improving RevOnline:

RevOnline & User Comments in the Dictionary

2014-07-14 Thread Charles E Buchwald
I know this is just one more complaint about how broken RevOnline is... But it would be _really_ nice if it worked again. I just spent 45 minutes figuring out that when you use the revZip external, you sometimes have to enclose your variable names in quotes. As usual I searched the list archive

Re: adding a concatenated field in an SQL query breaks LIKE

2014-07-14 Thread Peter Haworth
Another thought on this. Checking for your string in a concatenated string will yield false positives if some of the characters in your search string occur at the end of one of the concatenated columns and the rest occur at the start of the next concatenated column. You might be better off checkin

Re: OT: Opening stack from Dropbox--Now Fun with ellipses

2014-07-14 Thread Jim Hurley
Hi Scott, Wonderful! Thanks. You are a fountain of knowledge. I wonder why Dropbox differentiates stacks in this way. But it certainly makes for a convenient way to share Livecode stacks. I thought of Dropbox when the issue of drawing ellipses arose recently. (Thanks for straightening me out on

Re: Pending messages

2014-07-14 Thread Richmond
On 07/14/2014 12:52 PM, John Craig wrote: Just an option. Looking at Richmond's example, it may be desirable to always finish with the button visible and the KNT field updated - ony Richmond knows for sure! :D Yes, of course. The button has to be visible. Richmond. On 14/07/2014 10:43

Re: Pending messages

2014-07-14 Thread John Craig
Just an option. Looking at Richmond's example, it may be desirable to always finish with the button visible and the KNT field updated - ony Richmond knows for sure! :D On 14/07/2014 10:43, Mark Schonewille wrote: Yes, I thought of that, John, but if you do that, the script may run for anoth

Re: Pending messages

2014-07-14 Thread Mark Schonewille
Yes, I thought of that, John, but if you do that, the script may run for another 20 ticks after the Cancel button has been clicked on. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogr

Re: Pending messages

2014-07-14 Thread John Craig
Using Mark's example, another possible option is make the custom property a condition for the repeat; repeat until KK = 25 or the cClicked of btn "Cancel" is true set the vis of btn "B" to false wait 20 ticks with messages set the vis of btn "B" to true wait 20 ticks with mes

Re: Pending messages

2014-07-14 Thread Mark Schonewille
Hi Richmond, Use a property. // btn B on mouseUp put 1 into KK set the cCLicked of btn "Cancel" to false repeat until KK = 25 if the cClicked of btn "Cancel" is true then exit repeat set the vis of btn "B" to false wait 20 ticks with messages if the cClicked of btn "

Pending messages

2014-07-14 Thread Richmond
So . . . here I am with a stack containing 2 buttons: 'B' and 'cancel', and a field 'KNT': Btn 'B' contains the script: on mouseUp put 1 into KK repeat until KK = 25 set the vis of btn "B" to false wait 20 ticks with messages set the vis of btn "B" to true wait 20 ticks with m