Re: Misreported "corruption" between versions fixed

2014-10-27 Thread Kay C Lan
On Mon, Oct 27, 2014 at 9:43 PM, Richard Gaskin wrote: > It turns out that the very feature Phil Jimmieson requested,... has > already been implemented > > Ah, a nice example of the benefits of spending a little time to measure twice and cut once. Sure seems to be a whole heap more helpful than

Re: Open with 6.7 vs. 7.0

2014-10-27 Thread J. Landman Gay
On 10/27/2014, 10:59 PM, Timothy Miller wrote: I have dozens of archived folders, each containing a dozen or more stacks. How do I change them all back to "Open with" version 6.7? You can zip version 7 if you don't want to move it to another drive. Then you should be able to select one of the

Re: Sort cards doesn't work in 7.0

2014-10-27 Thread Kay C Lan
On Tue, Oct 28, 2014 at 5:18 AM, Timothy Miller wrote: > > Right, but these buttons always worked until I upgraded to version 7.0. > Why the change? A bug? A new feature? Or what? > Grab a copy of a 6.6.5 version of your stack that works as advertised; make two copies, appending '665' to one fil

Re: Open with 6.7 vs. 7.0

2014-10-27 Thread Paul Hibbert
Tim, The simplest way I have found is to move the LiveCode 7.0.app to a different hard drive and remove any copy from the system hard drive, then it will no longer be the default LC app, but will still be useable. Not sure if this is the best way, but it's working for me right now, maybe someb

Open with 6.7 vs. 7.0

2014-10-27 Thread Timothy Miller
I opened one stack one time with version 7.0. Now, Finder: Get Info: "Open with" has been changed to version 7.0 for all my archived stacks. I'm not ready to make that change. I've tried switching a folder full of stacks back to Finder: Get Info: Open With version 6.7, then tried the "Change A

Re: maximum lines?

2014-10-27 Thread Richard Gaskin
larry wrote: > Can anyone please tell me the maximum number of lines for: > > a variable in LC > > a field in LC > > also I'd like to know how to find that info! No limit on lines per se, but both containers have a cap of 4 GB. For more info like that see the Limits section of the User Guide (a

maximum lines?

2014-10-27 Thread larry
Hello, Can anyone please tell me the maximum number of lines for: a variable in LC a field in LC also I'd like to know how to find that info! Thanks, Larry ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe

Re: Need info about Mark Cards command...

2014-10-27 Thread Tim Selander
Yep, very slick -- which is why after all these years I still haven't found anything I can replace it with. However, while old Macs are in abundance and still chugging away, MacOS compatible printers are getting fewer and fewer. Have to get the company's stuff over to something newer before th

Re: Data grid Line or Index

2014-10-27 Thread Sri
Since arrays relate to how data is stored and not how data is displayed, I'd think no display-related factors should affect them. I'd expect dgData to stay the same (i.e., not updated), regardless of how the user manipulates the table displayed. (Any edits are incorporated through the index). Rega

Re: getting the stack name of a library

2014-10-27 Thread Michael Doub
Thanks Jacqueline. After re-reading the dictionary entry several times, I think I get it. This sentence is still causing me to stumble: "If the currently executing handler is in the script of the object that received the original message, then me is the same as the object whose name is re

Data grid Line or Index

2014-10-27 Thread Bob Sneidar
Here is a good one! When getting the dgData of a data grid, are the numbered keys the lines (so the current sort affects it), or are they the indexes (the order the records were in when the dgData was set)? Bob S ___ use-livecode mailing list use-li

Re: Is zero the same as empty?

2014-10-27 Thread Bob Sneidar
This is why we don’t ask cats to do arithmetic! Bob S > On Oct 27, 2014, at 13:15 , dunb...@aol.com wrote: > > Hugh. > > > But this will act the same if t1 contains "0" as well. You are testing the > two cats with arithmetic. When you do that, the result will be the same. > > > > -O

Re: deleting lines in a field

2014-10-27 Thread Bob Sneidar
I’m kind of surprised at these suggestions. Why not rather build a memory variable containing the lines that are not selected, then replace the field with the variable? Or as suggested, put the field into a memory variable, then put empty into the selected lines, then filter non-empty lines and

Re: sendmail through On-Rev server

2014-10-27 Thread Matthias Rebbe | M-R-D
> Am 27.10.2014 um 23:27 schrieb Bob Sneidar : > I would pay cash money for it myself! Me too. I used Shao Sean´s and also Sarah Reichelt´s libraries for a long time. But as more and more providers are switching completely to encrypted smtp i am also in need for such a plugin/library. Matt

Re: sendmail through On-Rev server

2014-10-27 Thread Bob Sneidar
Seems someone with knowledge of how encrypted SMTP works could come up with a mail plugin. I would pay cash money for it myself! I don’t have the expertise, although I’m pretty sure where things are breaking down in my attempts to do so. I’ve toyed with shell commands to do this, and it fails. A

Re: Need info about Mark Cards command...

2014-10-27 Thread Bob Sneidar
Ooooh… 9 to 5! I forgot about those guys! What a slick bit of software that was! Bob S On Oct 25, 2014, at 22:58 , Tim Selander mailto:selan...@tkf.att.ne.jp>> wrote: Now that v7 is out, I've started playing with bringing some of my company's (still in use) HyperCard/9to5 Reports systems over

Re: Sort cards doesn't work in 7.0

2014-10-27 Thread J. Landman Gay
On 10/27/2014, 4:18 PM, Timothy Miller wrote: On Oct 27, 2014, at 1:45 PM, J. Landman Gay wrote: On October 27, 2014 3:32:05 PM CDT, Timothy Miller wrote: The result from the failed sorts was empty. That's one of the reasons I suspect a bug. Your first idea was probably right. If the sor

Re: Sort cards doesn't work in 7.0

2014-10-27 Thread Peter Haworth
I think you should report it as a bug. It's certainly a change in behavior so either ti's a coding bug or, if it was changed on purpose, it's a documentation bug. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin

Re: Is zero the same as empty?

2014-10-27 Thread Peter Haworth
I ran across one situation involving zero/empty a while back that I reported as a bug, not sure if it's been fixed or not. If you INSERT a row into an SQL database and leave out some of the columns, those columns end up as NULL in the database (assuming they don't have a default value assigned in

Re: Sort cards doesn't work in 7.0

2014-10-27 Thread Timothy Miller
On Oct 27, 2014, at 1:45 PM, J. Landman Gay wrote: > On October 27, 2014 3:32:05 PM CDT, Timothy Miller > wrote: >> >> The result from the failed sorts was empty. That's one of the reasons I >> suspect a bug. > > Your first idea was probably right. If the sort field isn't on the current > ca

LC, Yosemite, and keyboards

2014-10-27 Thread Jacques Hausser
I recently moved to Yosemite. And yesterday I did accidentally change my keyboard from Swiss-French to American without noticing (probably pressing together option-control-space) when working with LC. It was I tried to put an option-char in the label box of a button inspector. After that, the Am

Re: Sort cards doesn't work in 7.0

2014-10-27 Thread J. Landman Gay
On October 27, 2014 3:32:05 PM CDT, Timothy Miller wrote: > >The result from the failed sorts was empty. That's one of the reasons I >suspect a bug. Your first idea was probably right. If the sort field isn't on the current card, the sort doesn't happen. -- Jacqueline Landman Gay |

Re: Sort cards doesn't work in 7.0

2014-10-27 Thread Timothy Miller
On Oct 27, 2014, at 11:27 AM, J. Landman Gay wrote: > On 10/27/2014, 1:08 PM, Timothy Miller wrote: >> --Paste field "intakesecs" and field "patient name" onto card 1. I >> put dummy values into those fields, don't know what happens if they >> are empty. > > They should sort to the front. > >>

Re: Option Drag FYI

2014-10-27 Thread Peter Haworth
Nice! Thank you. I've only ever looked on the Edit menu before. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Mon, Oct 27, 2014 at 11:44 AM, J. Landman Gay wrote: > On 10/2

Re: Is zero the same as empty?

2014-10-27 Thread dunbarx
Hugh. But this will act the same if t1 contains "0" as well. You are testing the two cats with arithmetic. When you do that, the result will be the same. -Original Message- From: FlexibleLearning.com To: use-livecode Sent: Mon, Oct 27, 2014 4:00 pm Subject: Re: Is zero the same as

Re: Is zero the same as empty?

2014-10-27 Thread dunbarx
OK, You can simply declare a variable, ostensibly empty, and the engine will watch your back if you try to add something to it. But you cannot both declare and add in the same line of code. So there is another level of declaration, perhaps because it occurs in the very same line as the test ar

Re: Is zero the same as empty?

2014-10-27 Thread FlexibleLearning.com
As Jacque has pointed out, 'empty' and 'zero' depend on context. When doing math calculations, I always force a math evaluation... If t1 + 0 = 0 then ... If t1 is empty it will then always evaluate to zero. Might help in your situation. Best regards, Hugh Senior FLCo ___

Re: pre-7.0.0 Unicode question

2014-10-27 Thread Richmond
On 27/10/14 21:10, Kenji Kojima wrote: Richmond, Sorry, I did not see the title well. This is for version 6. put “あいうえお” into fled 1  on mouseUp set the useUnicode to true if charToNum(the unicodeText of char 2 of fld 1) is "12356" then put unicode (numToChar(12354)) into char 2

Re: getting the stack name of a library

2014-10-27 Thread J. Landman Gay
On 10/27/2014, 1:16 PM, Michael Doub wrote: I am dynamically inserting a script into a stack to be used as a library. How does an inserted function find out the name of the stack it has be inserted into? I want to be able to create a custom property set for use by the library routines and I wa

Re: Is zero the same as empty?

2014-10-27 Thread J. Landman Gay
On 10/27/2014, 1:48 PM, Mark Wieder wrote: Heisenvars. Nice. :) -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.run

Re: Is zero the same as empty?

2014-10-27 Thread J. Landman Gay
On 10/27/2014, 1:55 PM, dunb...@aol.com wrote: on mouseUp local b answer b + 1 end mouseUp Also works just fine, thank you, and therefore the engine still knows what to do Right, because even if you put empty into the variable first (as in your second message) the act of doing a math c

Re: pre-7.0.0 Unicode question

2014-10-27 Thread Kenji Kojima
Richmond, Sorry, I did not see the title well. This is for version 6. put “あいうえお” into fled 1  on mouseUp set the useUnicode to true if charToNum(the unicodeText of char 2 of fld 1) is "12356" then put unicode (numToChar(12354)) into char 2 of fld 1 end if end mouseUp the characte

Re: Is zero the same as empty?

2014-10-27 Thread dunbarx
Jacque, again. I guess my rant is not quite valid. I should have written: on mouseUp put "" into b answer b + 1 end mouseUp -Original Message- From: Graham Samuel To: How to use LiveCode Sent: Mon, Oct 27, 2014 12:21 pm Subject: Is zero the same as empty? I found that if a

Re: Is zero the same as empty?

2014-10-27 Thread dunbarx
Jacque. Also true for "-300" But your point is interesting, the cat is content until called upon to act. But, noneTheLess, this: on mouseUp local b answer b + 1 end mouseUp Also works just fine, thank you, and therefore the engine still knows what to do, happily typing on the fly like

Re: Is zero the same as empty?

2014-10-27 Thread Mark Wieder
J. Landman Gay writes: > Empty is sort of a Schrödinger variable and changes its state depending > on how you look at it. Something similar occurs for true and false. I no longer check variables to see if they are false, because uninitialized variables being empty will fail the test. Now I just

Re: Is zero the same as empty?

2014-10-27 Thread dunbarx
Graham. Normally, variables or parameters, in order to be created at all, have to have something put into them. At least in HC they did. But with such tools as the "local" command, you can create them by simply declaring them: on mouseUp local a,b,c answer test(b) end mouseUp functio

Re: Option Drag FYI

2014-10-27 Thread J. Landman Gay
On 10/27/2014, 12:49 PM, Peter Haworth wrote: Would be even nicer if there was a "Paste into group" command. There is. :) Be sure selectGroupedControls is false so that you can click a group to select it. Copy a control. Right-click on the target group with the edit tool and the contextual me

Re: [OT] Jack Bruce Died

2014-10-27 Thread Peter Haworth
I'll go with British, easier to say than "two thirds English"! Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sun, Oct 26, 2014 at 4:36 PM, Alex Tweedly wrote: > On 26/10/2

Re: pre-7.0.0 Unicode question

2014-10-27 Thread Richmond
On 27/10/14 00:03, Kenji Kojima wrote: Richmond, I don’t know the character “7637”. But i thought you wanted to write like this. on mouseUp if char 2 of fld 1 is numToCodepoint(12356) then put numToCodepoint(12354) into char 2 of fld 1 end if end mouseUp the script changes “あいうえ

Re: Sort cards doesn't work in 7.0

2014-10-27 Thread J. Landman Gay
On 10/27/2014, 1:08 PM, Timothy Miller wrote: --Paste field "intakesecs" and field "patient name" onto card 1. I put dummy values into those fields, don't know what happens if they are empty. They should sort to the front. I have not exhaustively investigated the issue, but my hypothesis is t

Re: Is zero the same as empty?

2014-10-27 Thread J. Landman Gay
On 10/27/2014, 11:20 AM, Graham Samuel wrote: I found that if a parameter of a handler or function, or indeed a local variable, (say t1) has never had a value placed in it, then t1 = 0 is true. I was surprised by this, since I thought all unassigned variables were rendered empty by the engine,

getting the stack name of a library

2014-10-27 Thread Michael Doub
I am dynamically inserting a script into a stack to be used as a library. How does an inserted function find out the name of the stack it has be inserted into? I want to be able to create a custom property set for use by the library routines and I want that to be in the stack where the script

Re: Sort cards doesn't work in 7.0

2014-10-27 Thread Timothy Miller
On Oct 27, 2014, at 11:08 AM, Timothy Miller wrote: > The sort command seems not to be executing at all, judging by timing the > script when it is working, in version 6.5 vs. when it is not working, in > version 7.0 I meant version 6.6.5, not 6.5 ___

Re: Sort cards doesn't work in 7.0

2014-10-27 Thread Timothy Miller
On Oct 25, 2014, at 12:06 PM, Richard Gaskin wrote: > > > And weirder still, this behavior seems consistent in both 6.7 and 7.0. > > Tim, any chance you may have NULLs or other oddities in the data? When you > test across versions, is it with the same data? I've been able to replicate the pro

Re: Option Drag FYI

2014-10-27 Thread Peter Haworth
Right, I wasn't in group edit mode at the time I tried all the different options. I wasn't complaining, I think it's great there's a way to make a copy of an object without going into group edit mode. Would be even nicer if there was a "Paste into group" command. Pete lcSQL Software

Re: Option Drag FYI

2014-10-27 Thread Colin Holgate
I think it depends on how you work with groups. If you use Edit Group to go in and edit a group, copy and paste acts the same as option-drag. If you prefer to directly select objects inside a group, without actually going into the group, then copy and paste acts differently, because you’re at th

Option Drag FYI

2014-10-27 Thread Peter Haworth
Just learned the above trick to create a copy of a control from a recent thread. Found out today that there is a difference between copy/paste and option-drag. If you copy/paste a control in a group, the copy is not part of the group, but if you option-drag it, the copy remains in the group. The

Re: hilitedline

2014-10-27 Thread Geoff Canyon
I replied in the other thread as well, but: function removeLines lineList,S put 0 into lineCounter split lineList with comma as set repeat for each line L in S add 1 to lineCounter if lineList[lineCounter] then next repeat put L & cr after R end repeat return char

Is zero the same as empty?

2014-10-27 Thread Graham Samuel
I found that if a parameter of a handler or function, or indeed a local variable, (say t1) has never had a value placed in it, then t1 = 0 is true. I was surprised by this, since I thought all unassigned variables were rendered empty by the engine, and that empty and zero were distinct. Bu

Re: how to disturb newbies

2014-10-27 Thread Jacques Hausser
Indeed - good poetry doesn't need long exegesis ;-) > Le 27 oct. 2014 à 16:06, Bob Sneidar a écrit : > > Reading through your email didn’t make the least bit of sense! Until I > realized… THAT’S THE POINT! :-) > > Bob S > > >> On Oct 25, 2014, at 03:36 , Jacques Hausser wrote: >> >> Dictio

Re: deleting lines in a field

2014-10-27 Thread Geoff Canyon
Depending on the size of your data, something like this could be (much) faster: function removeLines lineList,S put 0 into lineCounter split lineList with comma as set repeat for each line L in S add 1 to lineCounter if lineList[lineCounter] then next repeat put L & cr a

Re: deleting lines in a field

2014-10-27 Thread Dr. Hawkins
On Mon, Oct 27, 2014 at 12:28 AM, Serge Brami wrote: > Each Time you delete a Line this change the index of the lines in the > field so you cannot do this That's why it's done backwards. When you delete a line, only the later lines are affected. So if you need to delete 3 and 5, deleting 5 m

Re: how to disturb newbies

2014-10-27 Thread Richard Gaskin
Kay C Lan wrote: I know your don't really want to hear more 'what should and shouldn't happen' and are really fishing for volunteers, but I could see a huge benefit in having may Dictionary entries hyperlinked to the appropriate section in the User Guide. Your mention of customPropertySets is a

Re: how to disturb newbies

2014-10-27 Thread Bob Sneidar
Reading through your email didn’t make the least bit of sense! Until I realized… THAT’S THE POINT! :-) Bob S > On Oct 25, 2014, at 03:36 , Jacques Hausser wrote: > > Dictionary examples: > > Syntax: > after messageName [parametersList] statementList end messageName > > Examples: > after mo

RE: [OT] Jack Bruce Died

2014-10-27 Thread Ralph DiMola
His vocals were as great as his bass playing. I can remember getting a free copy of the "Wheels on Fire" when I was in grammar school because my best friend's older sister thought it was horrible. I was mesmerized by a live power trio. Don't forget Jack's harmonica solo on "Toad". I could go on for

Re: [ANN] mergLA 1.0.0 - TouchID external for iOS

2014-10-27 Thread Mike Kerner
SUH-WEET! On Mon, Oct 27, 2014 at 5:04 AM, Nakia Brewer wrote: > Great work monte. > > Any plans for mergEvents? > Would be great to have access to the IOS events/ reminders DB. > > > > Nakia Brewer | Technology & Solutions Manager | Equipment Management > Solutions > t: (02) 49645051 > m: 0458

Benchmarking 7.0 performance

2014-10-27 Thread Geoff Canyon
I'm wondering if anyone has benchmarked 7.0 performance? I did two quick tests and found: on mouseUp put the long seconds into T repeat with i = 1 to 2000 put "A" && "aa" into X end repeat put the long seconds - T end mouseUp Took almost 5x as long to run as on 6.7, which I

Misreported "corruption" between versions fixed

2014-10-27 Thread Richard Gaskin
It turns out that the very feature Phil Jimmieson requested, in which older versions of LiveCode would be able to more accurately report when they're opening a new file format rather than reporting the file as "corrupted" has already been implemented - see Mark Waddingham's note in the report:

Re: orientation in iOS 8.1 simulator

2014-10-27 Thread Klaus major-k
Hi Sean, > Am 27.10.2014 um 00:24 schrieb Sean Cole (Pi) : > > Found it :D You have to set orientations at inception. > > mobileSetAllowedOrientations "portrait,portrait upside down,landscape > left,landscape right" > > Then it works perfectly, even the resize without waiting. YES, that did

Re: sendmail through On-Rev server

2014-10-27 Thread david williams
Hello Everyone, I will post the response here that I sent to Paul in his ticket, as I think it may be of use to some people on this list. This results from using the old legacy irev engine as opposed to the newer Livecode Server engine. You can either change the file extension to .lc, or, if

Re: how to disturb newbies

2014-10-27 Thread Kay C Lan
On Mon, Oct 27, 2014 at 2:46 AM, Richard Gaskin wrote: > > And since little if any of the User Guide is read, > Which is another pity as so much excellent information is in there. I know your don't really want to hear more 'what should and shouldn't happen' and are really fishing for volunteers

Re: The Bearer Of Bad News

2014-10-27 Thread Kay C Lan
On Sun, Oct 26, 2014 at 8:28 AM, Mark Wieder wrote: > Well, that's special. > While I have the Untitled backup drive removed from Spotlight, > Sorry for taking a while to answer this, but yesterday I didn't have my TM HD available so I couldn't be sure. What do you mean by 'removed'. In the Spo

Re: how to disturb newbies

2014-10-27 Thread FlexibleLearning.com
Larry If you need personal notes on anything at all from your own syntax notes to code snippets,, then I suggest you look at the Scripter's Scrapbook. Although it does not directly link to the IDE dictionary, it may have the features you need... www.flexiblelearning.com/ssbk Just a thought. Bes

Re: [ANN] mergLA 1.0.0 - TouchID external for iOS

2014-10-27 Thread Nakia Brewer
Great work monte. Any plans for mergEvents? Would be great to have access to the IOS events/ reminders DB. Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions t: (02) 49645051 m: 0458 713 547 i: www.westrac.com.au ACN 009 342 572 On 27 Oct

Re: deleting lines in a field

2014-10-27 Thread Serge Brami
Each Time you delete a Line this change the index of the lines in the field so you cannot do this Best way : repeat with i = the number of words in theLins down to 1 > > Put empty into line (word i of theLins) of theData > end repeat Filter thelins without empty Email par IPhone de Dr Serge B