Re: create a new label field

2014-10-05 Thread Kay C Lan
On Mon, Oct 6, 2014 at 8:50 AM, J. Landman Gay wrote: > > I think it's misleading for new users because it gives the impression that > there are different types of button and field controls. > Not to mention menubars, which again new users may think is another object altogether but surprise surpr

Re: how to detect insertion point

2014-10-05 Thread Kay C Lan
Maybe the focusIn messgae might help. On Mon, Oct 6, 2014 at 10:30 AM, wrote: > Hello, > > I have several fields... myField1, myField2, etc. > > When the user clicks within a field, I want to detect the (?? selection, > insertion ??) and run a script. > > I've experimented for over an hour with

Re: from here to there

2014-10-06 Thread Kay C Lan
On Tue, Oct 7, 2014 at 6:37 AM, wrote: > It is sort of strange to me that I want more than 1 word and so I used > "words", As to how grammatically correct it is I'm sure Richmond could tell us, but I like to think of it this way, I'm not actually specifying plural what I'm doing is specifying a

Re: Screen updating i version 7

2014-10-06 Thread Kay C Lan
I'm on OS X 10.9.5, MBP with retina display and at a screen resolution of 2048,1280 it all looks good to me. Even at 2880,1800 everything seems OK. This is in the IDE 7.0 RC2. This is with a basic stack that has a large field that has large amounts of data changed. Also if I go to the Dictionary a

Re: from here to there

2014-10-07 Thread Kay C Lan
On Tue, Oct 7, 2014 at 1:03 PM, Simon wrote: > OK, then what is this? > >put "this is a sentence" into temp >if the number of chars of temp >= 1 then put the last char of temp > Well I barely passed English so again, Richmond is the one to give us the explanation of the correct grammar, bu

Re: How is the LC textsize converted into RTF?

2014-10-08 Thread Kay C Lan
On Wed, Oct 8, 2014 at 11:25 PM, Tiemo Hollmann TB wrote: > Hello, > > I am struggling to keep the wanted textSize from a LiveCode text in a RTF > file. > >From another thread about RTF, this Important Note in the Dictionary under 'RTFText' may help: Important! Because the RTF standard does not i

Re: quotes question

2014-10-08 Thread Kay C Lan
On Thu, Oct 9, 2014 at 12:30 AM, wrote: > > create field > set the name of the last field to ("myfield" & x) > Looks like you're starting to think like a LiveCoder :-) ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

Re: Reading Files

2014-10-08 Thread Kay C Lan
Technically I'd think yes, practically I'd think there are any factors that would cause it to fail, obviously the size of the data being the most obvious. Reading from one external HD and writing the file to another external HD would be your best bet. I assume your talking about some LC custom sol

Re: Accessing properties in sub stack fields

2014-10-08 Thread Kay C Lan
Try: put the noType of (the name of the focusedObject) && the focusedObject into msg The reference returned by fucusedObject is not in the format that is used for the syntax of a custom property. You need to shorten it by referring to just 'the name'. HTH On Thu, Oct 9, 2014 at 9:39 AM, John

Re: Any way to do this?

2014-10-11 Thread Kay C Lan
Hi Charles, If I remember your original post asked about copying multiple images, so my suggestion was for images. I'm not sure what you want is possible because LC Groups are only recognised by LC, as far as I'm aware there in NO other application (other than MetaCard) that recognises what a grou

Re: problem with counting words

2014-10-12 Thread Kay C Lan
On Mon, Oct 13, 2014 at 7:45 AM, Richard Gaskin wrote: > > I hear ya', but like so many other oddities in the language this one came > from Apple, > Sheer brilliance! One of the first analogies of HyperCard was that it was a an electronic rolodex. Here is a list of names: Abu MusabAl-Zarqaw

Re: problem with counting words

2014-10-12 Thread Kay C Lan
On Mon, Oct 13, 2014 at 9:58 AM, Kay C Lan wrote: > > sort lines of myListOfNames by word of -1 each > > sort lnes of myListOfNames by word -1 of each Hate it when I hit send and then immediately see an error in my typing. ___ use-live

Re: problem with counting words

2014-10-12 Thread Kay C Lan
Open the User Guide (from the IDE Help Menu select 'User Guide' and type Library in your pdf viewer's search box. Chapter 5.8 'Extending the Message Path' should come up as the first hit. This also may be helpful: http://lessons.runrev.com/m/4071/l/11787-how-to-call-a-function-or-command-in-anoth

Re: lock screen question and detect field question

2014-10-12 Thread Kay C Lan
On Mon, Oct 13, 2014 at 10:05 AM, wrote: > > 1) I have a program where I'm creating and deleting fields. Why are you creating them and deleting them? Why aren't the fields already there and you just show and hide them? ___ use-livecode mailing list us

Re: problem with counting words

2014-10-12 Thread Kay C Lan
Thanks, > Larry > > - Original Message - From: "Kay C Lan" > To: "How to use LiveCode" > Sent: Sunday, October 12, 2014 8:09 PM > > Subject: Re: problem with counting words > > > Open the User Guide (from the IDE Help Menu select 'User

Re: lock screen question and detect field question

2014-10-12 Thread Kay C Lan
On Mon, Oct 13, 2014 at 10:33 AM, wrote: > Maybe I can just create all the fields I will ever possibly need and then > just show and hide them. > That is certainly an approach I've used many many times, especially if the number of fields is large. If the number of fields is smalll, say an input

Re: lock screen question and detect field question

2014-10-12 Thread Kay C Lan
Accidently hit the Send button. Here is what I meant to type: lock screen if the label of btn "selectMethod" = "Output" then set the height of fld "multipurpose" to 123 set the width of fld "multipurpose" to 456 set the loc of fld "multipurpose" to 200,200 etc pu

Re: problem with counting words

2014-10-12 Thread Kay C Lan
On Mon, Oct 13, 2014 at 11:16 AM, J. Landman Gay wrote: One thing to mention though is that these custom solutions won't transfer > to stacks that are distributed to others > The other thing to remember is a plugin can't be edited as easily as any other stack. If Larry is just starting out makin

Re: problem with counting words

2014-10-12 Thread Kay C Lan
On Mon, Oct 13, 2014 at 12:10 PM, Jerry Jensen wrote: > On Oct 12, 2014, at 9:03 PM, J. Landman Gay > wrote: > > > My motto is: Bytes be damned, let the engine handle it. > > > > I say right out loud that is totally appropriate for this millenium. > .Jerry > Yes, thankfully Bytes don't take up

Re: problem with counting words

2014-10-14 Thread Kay C Lan
On Tue, Oct 14, 2014 at 2:03 AM, Peter Haworth wrote: > There's a qcc enhancement request out there for a new chunk type ("chunk") > along with a "delimited by" clause. > > On Mon, Oct 13, 2014 at 7:32 AM, Terence Heaford > > wrote: > > > set the wordDelim to space > > set the wordDelim to “*” >

Re: problem with counting words

2014-10-16 Thread Kay C Lan
On Wed, Oct 15, 2014 at 12:58 AM, Peter Haworth wrote: > > a=1,b=2,c=3 > > That's pretty basic and is easily handled by: replace comma with cr Then just work through the lines and the itemDelimiter to =. What I was thinking about was: "A","B","C","D" etc and being able to specify the chunkDe

Re: 3 questions about your coding habits

2014-10-16 Thread Kay C Lan
1. Burried deep deep within the Documents folder. 3 levels down I have a 'my stacks' folder and in there each project has it's own folder, usually because there is hodge podge of ancilliary files; some required by the stack, i.e. SQLite file or folder full of images, but also files not required by

Re: Can you please enlighten me on the LiveCode versions?

2014-10-18 Thread Kay C Lan
On Fri, Oct 17, 2014 at 1:17 AM, Richard Gaskin wrote: > > But if you need stability, the most recent public release build is the > best bet, as those are the versions the community has tested and can no > longer find show-stoppers for. > > An excellent overview, thank you. I think the only thing

Re: how to disturb newbies

2014-10-25 Thread Kay C Lan
On Sat, Oct 25, 2014 at 10:57 PM, Richard Gaskin wrote: I've found in recent years that Dictionary errors have generally been fixed > almost instantly once notice is submitted, almost always prior to the next > release. > Whilst I can't comment on whether the speed at which Dictionary errors are

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 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: 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: 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: Benchmarking 7.0 performance

2014-10-28 Thread Kay C Lan
On Tue, Oct 28, 2014 at 8:28 PM, Tim Selander wrote: > saving changes to the file takes a full 10 seconds or more. > How long does it take in LC 6.x ? When you say 'measly 10MB file - customer database. Are you saying the file is a db file like mySQL or SQLite, or is it just a flat file that yo

Re: Autosave ???

2014-10-28 Thread Kay C Lan
On Wed, Oct 29, 2014 at 2:08 AM, Richmond wrote: I mainly deal with LiveCode learners, and as such it would be nice if such > things as AutoSave > worked straight out of the box without having to add things on. > And that is why Richard pointed out that LC, every single version I've dealt with s

Re: Dreaming up a benchmarking suite of stacks

2014-10-28 Thread Kay C Lan
On Tue, Oct 28, 2014 at 8:16 PM, Malte Brill wrote: > Would anyone of you be willing to participate in setting up such a > testsuite > I hope Peter Haworth reads this and does something for SQLite Whilst I'm sure I could mangle something together that could cover the bare basics of INSERT, UPD

Re: Valentina db

2014-10-30 Thread Kay C Lan
On Thu, Oct 30, 2014 at 3:42 PM, wrote: > Hello, > > Has anyone used Valentina database with LC? > > Yes, for many years now. > If so, what is your experience with it? > > Love it. Especially if you need speed and simplified table relationships - Binary Links are great. > Is it a product that

Re: Benchmarking 7.0 performance

2014-10-30 Thread Kay C Lan
es. And now > Rinaldi has come to my rescue again. I have use a LOT of his stuff over all > these years. > > Tim Selander > Tokyo, Japan > > > > On 10/29/14, 1:57 PM, Kay C Lan wrote: > >> On Tue, Oct 28, 2014 at 8:28 PM, Tim Selander >> wrote: >> >

Re: Benchmarking 7.0 performance

2014-10-30 Thread Kay C Lan
Sorry, hit the Send button accidentally before finding the link. NOT CSV* * For reasons as to why you wouldn't use a comma to separate your values, please refer to this excellent article by Richard Gaskin: http://www.fourthworld.com/embassy/articles/csv-must-die.html Unfortunately, using 1 Card

Re: Where does survive the inventive user ?

2011-07-29 Thread Kay C Lan
On Wed, Jul 27, 2011 at 6:40 PM, Francis Nugent Dixon wrote: > Renting application use out of a > cloud would be the same has handing over your wallet to a stranger. > Which you already happily do right. I look in my wallet an there are a couple of notes and a couple of plastic cards. The notes

[OT] Flash is Dead

2011-08-02 Thread Kay C Lan
It would appear Flash is dead or certainly critically ill. Happened much quicker than even I expected. http://www.telecomtv.com/comspace_newsDetail.aspx?n=47914&id=e9381817-0593-417a-8639-c4c53e2a2a10 And all those people who thought banning Flash would be the end of Apple, and that it was stifli

Re: [OT] Flash is NOT Dead

2011-08-02 Thread Kay C Lan
On Wed, Aug 3, 2011 at 12:12 AM, Lynn Fredricks < lfredri...@proactive-intl.com> wrote: > > Hey Kay - wow, that site has an annoying pop up. If you don't want to join, > that pop up doesn't go away and won't let you read the article. > > Sorry, no idea, I run Firefox 5.0.1 with the NoScripts 2.1.2

Re: [OT] Unboxing the Acer Android Tablet

2011-08-02 Thread Kay C Lan
Classic. Turns out none of my Apple products knows how to spell Icons... no I mean Iconic... no I mean Icon is :-) There's a website around somewhere (sorry can't locate right now) that is dedicated to the SMS messages that have had their meaning completely jumbled due to 'auto-spell correctors'

Re: Where does survive the inventive user ?

2011-08-07 Thread Kay C Lan
I find it interesting that we've identified that a couple of things that made HyperCard great was that it was initially free with every Mac and it came with loads of free examples. I'm not sure that it was targeted towards inventive users, but just a continuation of the philosophy that as computer

Re: Back to LC & Inventive Users

2011-08-16 Thread Kay C Lan
Judy, I might be too late to the thread but I'll offer a slightly twisted perspective of where to go with this. These are adults, right? Don't ask them so much about what they like, instead figure out what ticks them off the most, or wastes their time the most or elicits the response 'it's a frig

Re: how to read an specific page into pdf document?

2011-11-14 Thread Kay C Lan
I know I'm very late to the party but anyone who is doing this on Mac needs to be aware of one very large WARNING. This will NOT work as expected on anything other than simple page layouts. As of Snow Leopard, Apple made PDF rendering 'smarter'. That is smarter like auto text correction on smart p

Re: [OT] A FLASH in the pan? Part 2

2011-11-21 Thread Kay C Lan
2011/11/22 Björnke von Gierke > every OT that's not programming related, yes. that includes cheese, > politcs, religion and similar topics. > > Ah, I only ever get to come back and visit this List in microbursts, but I see it hasn't changed ;-) ___ use-

[BUG] - Scrollbars in LiveCode

2011-11-21 Thread Kay C Lan
OS X 10.6.8 MBPro LiveCode 5.0 I think the button part of my trackpad is starting to fail. Hard to tell, it seems to have most problems after about 10 min of working in LiveCode, but then again, I generally do far more clicking in LiveCode than in any other App. To combat this I've turned On the

Re: [BUG] - Scrollbars in LiveCode

2011-11-22 Thread Kay C Lan
On Tue, Nov 22, 2011 at 3:43 PM, Malte Brill wrote: > > My trackpad is not that worn out yet and liveCode still ignores tapping in > quite a few places here. Same configuration as yours. (Physical clicks > always work though) > > Thanks Malte for the quick response, at least that's one less hair

Re: [BUG] - Scrollbars in LiveCode

2011-11-22 Thread Kay C Lan
On Tue, Nov 22, 2011 at 6:54 PM, Mark Schonewille < m.schonewi...@economy-x-talk.com> wrote: > Kay, > > The trackpad works fine for me with scrollbars objects and scrollbars of > fields and groups. OSX 10.6.8, MacBook, LC 5.0. > > Hmm, now that's confused the issue, although it makes sense - could

Re: [BUG] - Scrollbars in LiveCode

2011-11-22 Thread Kay C Lan
On Tue, Nov 22, 2011 at 10:54 PM, Richard Gaskin wrote: > > This was a bug in earlier version of LiveCode, fixed as of 4.6.4 (or > perhaps a something earlier in the 4.6 series). Testing this AM in that > version has LiveCode responding to tap-to-click. > > What version are you using? > > OS X 1

Re: Survey

2011-11-22 Thread Kay C Lan
On Tue, Nov 22, 2011 at 9:18 AM, Mark Schonewille < m.schonewi...@economy-x-talk.com> wrote: > Wow... you really have got too much time on your hands, Colin! ;-) > > I figured he just wanted the iPad really, really, really, really (repeat 196 more times) badly ;-) _

Re: [BUG] - Scrollbars in LiveCode

2011-11-23 Thread Kay C Lan
On Wed, Nov 23, 2011 at 2:21 PM, J. Landman Gay wrote: > > I can't get either the arrows or the scroller space around the thumb to > work unless I double-tap. If I do that, they both work. My system prefs are > set up to allow tap-tap-drag. If I turn that off, no kind of tapping does > anything, t

Re: [BUG] - Scrollbars in LiveCode

2011-11-23 Thread Kay C Lan
On Thu, Nov 24, 2011 at 3:14 AM, J. Landman Gay wrote: > > Sure, no problem. > Thanks ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.run

Re: [BUG] - Scrollbars in LiveCode

2011-11-23 Thread Kay C Lan
On Thu, Nov 24, 2011 at 3:14 AM, J. Landman Gay wrote: > I added a comment to update the report for 5.0.1, which was just released > today > > Interestingly, the scrollbar in the License Agreement portion of the LC Updater responds correctly to trackpad taps. I thought this was written in LC? Mayb

Re: [BUG] - Scrollbars in LiveCode

2011-11-23 Thread Kay C Lan
On Thu, Nov 24, 2011 at 11:28 AM, J. Landman Gay wrote: > > You could try suspending the development environment and see if anything > is different. I don't know how conclusive that would be but it's a start. > > I did one better. I downloaded a trial version of Bill Vlahos' InfoWallet, unfortunat

Re: On-Rev mySQL security issues?

2011-11-27 Thread Kay C Lan
Hi Tim, Sounds like you and me are on the same par, so appreciate that I am no expert in this field, but I was able to achieve something similar to what you are doing through a lot of help from those on this List, either directly from posts or indirectly from their websites. My project involved n

Re: [BUG] - Scrollbars in LiveCode

2011-11-27 Thread Kay C Lan
On Sun, Nov 27, 2011 at 1:41 AM, Mark Schonewille < m.schonewi...@economy-x-talk.com> wrote: > Hi, > > Additionally, the up arrow of the scrollbar doesn't hilite in 5.0.1. > Bummer. Any solutions? Scoll bars are an essential interface element and I > need this to work properly. > > Hi Mark, I'm n

Re: On-Rev mySQL security issues? -- or use an LC stack for the DB?

2011-11-28 Thread Kay C Lan
On Mon, Nov 28, 2011 at 11:55 AM, Tim Selander wrote: > > Any thoughts on validation needs for lookups only? And on using a stack or > text file for the data? (Hmmm... how does the LC server handle variables - > limit on size?) > > Tim, again I'm no expert here (on anything, LC, SQL or On-Rev) bu

[BUG] 5.0.2 start-up anomaly - Btn Icons not displayed

2012-01-04 Thread Kay C Lan
Folks, I'm experiencing a glitch with an old Rev stack since upgrading to 5.0.2. I've not seen anyone else report this so I assumed that it was just my set-up but I've since been able to reproduce the bug and it appears to be associated with Icons in buttons. With 5.0.1 and prior when starting my

Re: [BUG] 5.0.2 start-up anomaly - Btn Icons not displayed

2012-01-04 Thread Kay C Lan
Thanks Jacque, I guess 5.0.3 will be out soon, till then it's easy to work around. On Thu, Jan 5, 2012 at 1:01 PM, J. Landman Gay wrote: > On 1/4/12 10:52 PM, Kay C Lan wrote: > > With 5.0.1 and prior when starting my stack the LC splash screen comes up, >> then the IDE Tool

Re: [BUG] 5.0.2 start-up anomaly - Btn Icons not displayed

2012-01-06 Thread Kay C Lan
gt; > Scott Rossi > Creative Director > Tactile Media, UX Design > > Original message > Subject: [BUG] 5.0.2 start-up anomaly - Btn Icons not displayed > From: Kay C Lan > To: How to use LiveCode > CC: > > Folks, > > I'm experiencing a glitc

[OT] Bill and Eric - not forgotten

2012-01-07 Thread Kay C Lan
Bill, thanks for giving RunRev a quality control kick in the pants. Thanks Eric for all those free tutorials and the matching Tutorial Picker. For those who have no clue what I'm writing about, trust me when I say your LC experience has been vastly improved by the involvement of the these two men

Re: OS X Lion

2012-01-10 Thread Kay C Lan
On Wed, Jan 11, 2012 at 3:43 AM, Pete wrote: > Pre-Lion, I would just click on the icon for my Home directory, then > navigate to Library/Preferences in the Finder. In Lion, I could not find a > home directory icon to click on, nor could I find an icon representing the > computer's hard drive, e

Re: SQL Date Formatting

2012-01-12 Thread Kay C Lan
On Fri, Jan 13, 2012 at 1:29 AM, Bob Sneidar wrote: When I need to work with the dates in Livecode, I run the dates through my > conversion functions first. It would just be nice to have an option in the > convert command. No big deal though. > > I appreciate you've already achieved a suitable so

Re: SQL Date Formatting

2012-01-14 Thread Kay C Lan
On Sat, Jan 14, 2012 at 1:07 AM, Ken Ray wrote: > > Just a little 'gotcha' here - I've been doing A LOT with dates and times > recently, and discovered that you either need to make sure the > 'useSystemDate' is set to true in your code, OR make sure to add the > "system" keyword in any format con

Re: Determine 180 degree turn using compass

2012-01-16 Thread Kay C Lan
Hi Thomas, To me, determining laps by heading seems to be very inaccurate, but I don't fully understand your requirements. The only thing I suggest is using the 'accuracy' value as returned by the iPhoneCurrentHeading() function rather than your current fixed value of 150. If the number is very lo

Re: Find oddity?

2012-01-18 Thread Kay C Lan
Hi Craig, Basically confirmed in 5.0.2 but after a little further investigation I've discovered this is a feature, not a bug. I added 2 fields to a new stack, one for the text, the other to display which loop of the repeat I was in - handler below: on mouseUp put empty into fld "Field2" --loo

Re: Jolt Award

2012-01-18 Thread Kay C Lan
Hmmm, Maybe they are celebrating, then again the line: Still, for those developers looking for an incredibly fast mobile > application prototyping tool > sort of puts a fizzer on things. I don't think RunRev want to be known as a prototyping tool, for the real job to be done by a real tool, so h

Re: Jolt Award

2012-01-19 Thread Kay C Lan
Hi Bob, Everything you say if perfectly valid, and believe me, I'm only now starting to comprehend how incomprehensible the task is that RunRev have chosen;-) to make a multi-platform RAD. I really feel for the company when, after enormous amounts of manpower have transformed HyperCard into someth

Re: Find oddity?

2012-01-19 Thread Kay C Lan
On Fri, Jan 20, 2012 at 5:24 AM, wrote: > I understand that prudent monitoring of "the result" will allow one to > distinguish the difference. We need an autoFindtFromTop property (heck, > every other conceivable property exists natively). > > With all respect I don't agree. A quick check of a co

Re: Prototyping

2012-01-19 Thread Kay C Lan
On Fri, Jan 20, 2012 at 4:10 AM, Richmond wrote: > > What I fail to understand, is, having bothered to take the trouble to > build a "prototype" > in Livecode (especially one that does all that you want it to), what > possible advantage > can there be to then move to some other language/RAD/whatev

Re: Jolt Award

2012-01-19 Thread Kay C Lan
Is there one above VERY ;-) On Fri, Jan 20, 2012 at 10:23 AM, Pete wrote: > So how would you characterise your view Kay? VERY opinionated or only > MILDLY so? Just curious... > > On Thu, Jan 19, 2012 at 5:43 PM, Kay C Lan > wrote: > > > IMO I think the VERY opiniona

Re: Math problem

2012-02-17 Thread Kay C Lan
On Tue, Feb 14, 2012 at 6:09 AM, Bob Sneidar wrote: > Hey there it is! I was looking for a strictly mathematical method but that > will do nicely. > > Not sure how Paul's response could be the answer as it seems to miss an important step. "--take the difference in pIncrement units, rounded up…"

Re: Math problem

2012-02-17 Thread Kay C Lan
Guys I thought I'd speed test these. Unfortunately I don't have the time to figure out exactly how Geoff's amended version of Peter's solution actually works in this case; rounding 1.1 to 1.25, 3.3 to 3.5. I can get it to work with whole numbers, but not 0.25 increments as per the OP. The current

Re: Math problem

2012-02-18 Thread Kay C Lan
On Sun, Feb 19, 2012 at 12:22 PM, Geoff Canyon Rev wrote: > (and to return hours, so it matches the output of the other > two). > OK, now I see where I was getting confused. I was focused on decimal hours as per the OP, but you were outputting seconds. I've tweaked your solution only slightly a

Re: Strange Tooltip behavior

2012-02-18 Thread Kay C Lan
As per the Dictionary: set the toolTipDelay to 0 -- no tooltip HTH On Sat, Feb 18, 2012 at 12:46 AM, Pete wrote: > I have some code that sets the tooltip of a control to either some text or > empty depending on a condition. If the code to set the tooltip to empty is > executed, the tooltip is

Re: Math problem

2012-02-19 Thread Kay C Lan
On Sun, Feb 19, 2012 at 4:48 PM, Geoff Canyon Rev wrote: > "repeat for each line" is incredibly fast, so I'm not surprised that it > beats an array. Interestingly, I was able to speed up all three solutions > by doing this: > > get aTime[i]["Increment"] > > and then using "it" in the math mak

Re: Math problem

2012-02-19 Thread Kay C Lan
On Sun, Feb 19, 2012 at 5:32 PM, Kay C Lan wrote: > >put "For " & tRepeats & " cycles" & cr into R > > Oopps. That should read "For " & (6 * tRepeats) & " cycles" & cr into R Because of the nested repeat it's

Re: Math problem

2012-02-19 Thread Kay C Lan
Once I put 17 into tRepeats so I do 102 cycles, I get very similar: For 102 cycles K's solution = 1657ms Paul's solution = 1453ms Geoff's solution = 1536ms For 102 cycles K's solution = 1638ms Paul's solution = 1455ms Geoff's solution = 1533ms For 102 cycles K's solution =

Re: How to use an array to solve the following...

2012-02-19 Thread Kay C Lan
On Mon, Feb 20, 2012 at 2:53 AM, Glen Bojsza wrote: > > Is the use of arrays to solve this appropriate? Efficient? Fast? > > From another recent thread, using arrays is slower than repeat for each line, and if the values you give are realistic (not lines with 1 chars) then even if you have a

Re: How to use an array to solve the following...

2012-02-19 Thread Kay C Lan
Whoops typo, the start dummy list is 10 6 80 7 130 23 140 2 160 22 <--- 160, not 150 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://list

Re: How to use an array to solve the following...

2012-02-19 Thread Kay C Lan
Here's the same solution, but with 101 records. On my machine, over 3 runs I get, 4924 millisec, 4932 ms, 4914 ms. I'm sure others will now improve on that. There are a couple of extra lines to do the timing which you'd remove for your solution. on mouseUp --create the dummy list put 1

Re: How to use an array to solve the following...

2012-02-19 Thread Kay C Lan
On Mon, Feb 20, 2012 at 10:47 AM, Glen Bojsza wrote: > > The biggest picture would be having 10 lists with each list having the xs > column but a different ?t column (wt, gt, st, mt, qt, ... etc) > > If you are going to many more columns, then an array might be faster, and if speed is the ultimat

Re: [OT] HyperCard and the Interactive Web

2012-02-19 Thread Kay C Lan
On Mon, Feb 20, 2012 at 1:12 AM, Richmond wrote: > I wouldn't worry about that. In our flat one cannot see the living-room > walls (in some places 3 books deep). > > You've seen the TV series Hoarders I presume ___ use-livecode mailing list use-livec

Re: Omegabundle for LiveCode 2012 Released: Get the Top Developer Add-ons for LiveCode

2012-02-20 Thread Kay C Lan
Does tm tools get mentioned twice because it's twice as good as the rest? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailma

Re: [OT] HyperCard and the Interactive Web

2012-02-20 Thread Kay C Lan
Hmmm, sounds like the exact same excuse I give my wife ;-) On Tue, Feb 21, 2012 at 2:16 AM, Richmond wrote: > On 02/20/2012 07:18 AM, Kay C Lan wrote: > >> On Mon, Feb 20, 2012 at 1:12 AM, >> Richmond >> >wrote: >> >> I wouldn't worry about that

Re: How to use an array to solve the following...

2012-02-20 Thread Kay C Lan
On Tue, Feb 21, 2012 at 10:20 AM, Geoff Canyon Rev wrote: > For items, lines, and words, using > "item/line/word of myContainer" gets worse the larger the container is. For > character and with arrays, it doesn't. > Excellent rules of thumb, though there is a caveat to all this. Unfortunately I

Re: How to use an array to solve the following...

2012-02-21 Thread Kay C Lan
On Tue, Feb 21, 2012 at 2:09 PM, Dick Kriesel wrote: > On Feb 20, 2012, at 9:37 PM, Kay C Lan wrote: > > > Anyone want to test the speed of finding data in a 100 line variable > > using char -1 of word -1 of item -1 of line -1? > > Hi, Kay. Sure. How do I get the sc

Re: How to use an array to solve the following...

2012-02-21 Thread Kay C Lan
On Tue, Feb 21, 2012 at 4:29 PM, Glen Bojsza wrote: > Or will Kay prove it to be faster > with just lists :-) > > Already proven. I agree with Geoff. For the data example you have provided and the queries you are suggesting, LC can easily handle it using repeat for each line and an if statement a

Re: How to use an array to solve the following...

2012-02-21 Thread Kay C Lan
Glen, Look at my test results more closely: Finding the 1st item of the 1st line using direct reference = 3ms Finding the last item of the last line using direct reference = 440294ms Finding the -1 item of the 1st line using direct reference = 5ms Finding the -1 item of the -1 line using direct r

Re: How to use an array to solve the following...

2012-02-21 Thread Kay C Lan
On Tue, Feb 21, 2012 at 4:29 PM, Glen Bojsza wrote: > > For example a user wants an starting xs value of 10 and an ending xs value > of 40 I think that if the keys are sequential (the keys being the first > column - xs) then it would be a fast solution using arrays since you should > be able to d

Re: How to use an array to solve the following...

2012-02-22 Thread Kay C Lan
On Tue, Feb 21, 2012 at 11:16 PM, Geoff Canyon Rev wrote: > but > I've been fooled by the near-infinite speed of repeat for each too many > times to count. > > Haven't we all. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this

Re: [ot] is it safe to upgrade to lion?

2012-02-22 Thread Kay C Lan
Andre, I'm with you. I've been waiting for Lion to be become glitch free before taking the plunge, and it would seem just skipping it and going straight with MoLi is the way to go. As far as I can see there is actually nothing new in MoLl, just slight tweaks to things that already exist. I'm assu

Re: Get number of occurrences of one string in another

2012-02-23 Thread Kay C Lan
On Fri, Feb 24, 2012 at 3:48 AM, Sumner, Walt wrote: > Here's a small speed increment, still no repeat loops except for 3 or 4 > hidden within Livecode. Counts "pp" as 3 "pp", not 5. > > I've had a look at this and generally don't agree that there are only 3 "pp" in "pp". I accept that in

Re: Why him does not use a natural language for programming?

2012-02-23 Thread Kay C Lan
On Fri, Feb 24, 2012 at 8:13 AM, Michael Chean wrote: > His first argument re: ambiguity doesn't hold water for me. Anyone who has > tried to decipher another > persons code can attest to how ambiguous programming languages can be. > But wasn't that the point. No matter how many compatible com

[OT] LC's Fields of the Future

2012-02-23 Thread Kay C Lan
This bit in the latest Rev Newsletter about where Fields are headed looks extremely promising. http://www.runrev.com/newsletter/february/issue129/newsletter1.php?a=NWS129 I'm mangling/butchering/faking/ignoring two or three similar features for quite a while now, so I look forward to a simpler an

Re: [OT] LC's Fields of the Future

2012-02-24 Thread Kay C Lan
On Fri, Feb 24, 2012 at 10:36 PM, Richard Gaskin wrote: > Kay's mention of workarounds mirrors my own experience in many ways, esp. > with the need to embed arbitrary metadata in text runs. > > Hit the nail right on the head! And a response from Kevin... Who was it that posted something about a

Automating Javascript Web Form Input

2012-02-26 Thread Kay C Lan
I know how to use LC to do a simple web entry like this: put URL "https://www.google.com/search?q=online+pdf+to+text+conversion"; into tHTML But how do I handle java forms? At this page: http://www.fileformat.info/convert/doc/pdf2txt.htm If I manually enter the pdf file I wish to convert, from

Re: [OT] HyperCard and the Interactive Web

2012-02-26 Thread Kay C Lan
On Sun, Feb 26, 2012 at 4:26 PM, Richmond wrote: > I have hacked the system > menus so NOTHING else is available at all. > > Sorry, I'm confused. Were not previous posts all about how hopeless the kids today are because they can't even fathom the file system, and here you are denying it to them.

Re: Automating Javascript Web Form Input

2012-02-27 Thread Kay C Lan
Dave, Thank you, thank you, thank you. Absolutely brilliant. Took me about 10 min to sort out - would have taken 5 sec if I knew what I was doing. Had a little trouble with a '500' error message from the server, but once I actually bothered to look at your code and check the dictionary for stuf

Re: Sqlite and performances in LiveCode

2012-03-03 Thread Kay C Lan
On Sun, Mar 4, 2012 at 7:00 AM, Jérôme Rosat wrote: > Do you have any ideas to improve performance? > > If the 'SQLiteManager' you refer to is the same one I use with FireFox, in my case it only displays 100 records at a time, you have to click the Next button to see more - so this is a performan

Re: [iOS] Suspending and quitting

2012-03-03 Thread Kay C Lan
On Sun, Mar 4, 2012 at 11:08 AM, Gerry Orkin wrote: > > I've never seen an iOS app with a quit button. > > Same here. Nor have I seen any app that behaves differently depending on how you leave, only if you really Quit or not. Some apps (eReaders particularly) always return you to where you left

Re: "can't find handler" error in script that worked before

2012-03-03 Thread Kay C Lan
Is this in a standalone or a stack you are running in the IDE. There is a know problem with the start-up sequence of 5.0.2 that effects some stacks when run in the IDE. To figure if this is effecting you, start the IDE, then open your stack and see if it works OK. If it does, then this was the pro

Re: [iOS] Suspending and quitting

2012-03-03 Thread Kay C Lan
On Sun, Mar 4, 2012 at 1:17 PM, J. Landman Gay wrote: > Maybe others don't see it that way. That's part of what I'd like to know. > > If I was on your Settings card, and pressed the Home button so I could send and SMS (which is how I always get to Messages) when I return to your game I'd expect to

<    1   2   3   4   5   6   7   8   9   10   >