Re: updating progress to user during long handler

2016-02-26 Thread Dr. Hawkins
On Thu, Feb 25, 2016 at 7:28 PM, Kay C Lan wrote: > Now test some 'descending' wait after the text has been placed in the > field: > > wait 1 sec > wait 1 tick > wait 1 millisec > What about "wait 0 with messages"? Isn't the "with messages" necessary if you want something to happen? -- Dr. R

Re: Assigning behaviors

2016-02-17 Thread Dr. Hawkins
On Wed, Feb 17, 2016 at 10:30 AM, William Prothero wrote: > Sounds interesting. If you’re willing to share, I’d love to take a peek at > it. It's very specific to how my program functions; the code wouldn't translate directly. But something to the effect of repeat for each word stk in (your l

Re: Assigning behaviors

2016-02-17 Thread Dr. Hawkins
On Wed, Feb 17, 2016 at 6:54 AM, William Prothero wrote: > Anybody got a smoother method than typing in the command to set a behavior > into the message box? I have a script that automatically runs on a version increments change that cycles through the stacks & cards, and uses cues like names a

Re: shadow declarations bug back?

2016-02-12 Thread Dr. Hawkins
On Thu, Feb 11, 2016 at 5:37 PM, Dr. Hawkins wrote: > No, that was only one cause. Minutes after someone suggested that, I got > one that clearly wasn't that > Now this is *really* curious. I found one of these being triggered by the same variable being declared global a few lin

Re: shadow declarations bug back?

2016-02-11 Thread Dr. Hawkins
On Thu, Feb 11, 2016 at 10:40 AM, Peter Haworth wrote: > I haven't seen the shadowed variable bug for a long time. I think it was > established that the bug occurs when execution is stopped by clicking the > blue square icon to stop execution during a debug run. > No, that was only one cause.

shadow declarations bug back?

2016-02-11 Thread Dr. Hawkins
The once common shadow-declaration bug seems to have largely gone away; I realized that I hadn't seen it in some time. It seems to have appeared again in 7.1.2_rc1 & rc2; are other people seeing it again? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___

Re: Release 8.0 DP 14

2016-02-05 Thread Dr. Hawkins
On Fri, Feb 5, 2016 at 12:43 AM, RM wrote: > > I'm not a gambler either. But I do know one thing: > > Despite my periodic "snotty patches": LiveCode has always delivered when > it comes > to stable releases. If one wants to run at the front of the pack (i.e. > developing with > Developer previews

Re: Release 8.0 DP 14

2016-02-05 Thread Dr. Hawkins
On Thu, Feb 4, 2016 at 6:20 PM, Richard Gaskin wrote: > Suit yourself. > > I regard testing new software my business relies on as part of the ongoing > cost of developing and maintaining my products. > > You know better than most that given the combinatorial explosion of > possible syntax and fea

Re: calling Livecode from other languages

2016-02-05 Thread Dr. Hawkins
On Fri, Feb 5, 2016 at 12:00 AM, Ali Lloyd wrote: > When you deploy a script-only stack as a standalone it is re-saved as a > normal stack. Not doing so at the moment results in the standalone crashing > on startup. > > On Fri, Feb 5, 2016 at 6:28 AM Monte Goulding wrote: > > > > > > On 5 Feb 20

Re: calling Livecode from other languages

2016-02-05 Thread Dr. Hawkins
On Fri, Feb 5, 2016 at 12:00 AM, Ali Lloyd wrote: > When you deploy a script-only stack as a standalone it is re-saved as a > normal stack. > I've seen a couple of references to "script only stacks". Are these just pieces of code? Outside of a standalone, would they be used as library stacks,

Re: Release 8.0 DP 14

2016-02-04 Thread Dr. Hawkins
On Thu, Feb 4, 2016 at 4:14 PM, Richard Gaskin wrote: > "Developer Preview" is not "Stable", but the purpose of a DP is to allow > everyone the opportunity to make sure "Stable" is stable. > > So start testing with v8 today. > > LC is both broad and deep. Testing a new engine version with your >

Re: Release 8.0 DP 14

2016-02-04 Thread Dr. Hawkins
On Thu, Feb 4, 2016 at 12:36 PM, Ali Lloyd wrote: > So yes, you should be considering wholesale transfer to 8 ASAP. The vast > majority of further work on 8.0 will be LiveCode Builder or IDE related, so > the core engine is pretty stable and has many improvements over the 7.1 > engine. > Umm, "p

Re: Release 8.0 DP 14

2016-02-04 Thread Dr. Hawkins
On Thu, Feb 4, 2016 at 11:18 AM, Ali Lloyd wrote: > I'm afraid not - even if the current crop of 7.1 RCs weren't intended to be > the last ones, and the 8.0 script editor weren't forked, there were several > changes in the engine facilitating the performance boost which cannot be > easily backpor

Re: Release 8.0 DP 14

2016-02-04 Thread Dr. Hawkins
On Thu, Feb 4, 2016 at 5:49 AM, Ali Lloyd wrote: > > > *Script Editor Performance* > The script editor's performance with large scripts has been improved. > Is there any way that this can make it into 7? I lose amazing amounts of time on a daily bases to my 10k line scripts . . . -- Dr. Richa

Re: [TRYING AGAIN] Secure Sockets Issue

2016-02-02 Thread Dr. Hawkins
On Tue, Feb 2, 2016 at 8:40 AM, Stephen MacLean wrote: > And this on the client: > > open secure socket to (field "host" & ":5210") with message > “chatConnected" > > Should create a secure connection between the two apps. > > somewhere in the archives you will find a master/slave pair I wrote--

Re: Explicit Variables

2016-01-28 Thread Dr. Hawkins
On Thu, Jan 28, 2016 at 6:45 PM, Kay C Lan wrote: > I assume creating dynamic variable names will not work with > explicitVariables set in the IDE but it will actually work in a standalone. > > Not work / work > or > Not work / not work > It *shouldn't* work from everything I know . . . in parti

match a parenthesis literal in a lived regex?

2016-01-26 Thread Dr. Hawkins
My understanding is that at least one of [(] or [\(] should match an opening parenthesis in a regular expression, but my experimenting isn't filing this. Am I missing something, or is this just not implemented? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 __

Re: sort numeric by items?

2016-01-16 Thread Dr. Hawkins
On Sat, Jan 16, 2016 at 2:39 PM, Randy Hengst wrote: > And the lines were sorted as expected of numeric. I added a field to watch this, and it worked correctly. Then I single stepped through, and grams behaved just as it should. So I went to my slider, which still had the wrong order. It see

Re: sort numeric by items?

2016-01-16 Thread Dr. Hawkins
On Sat, Jan 16, 2016 at 2:22 PM, stephen barncard < stephenrevoluti...@barncard.com> wrote: > the interpreter is treating the chunk items as text. Is there some way you > can force a math operation on each iteration such as +0 ? > 0+item -1 of each Value(item -1 of each) both give me the same r

sort numeric by items?

2016-01-16 Thread Dr. Hawkins
I have a snippet *set* the itemDel to "_" *sort* lines of grNms ascending numeric by item -1 of each Yet if grams is a_1 a_3 a_10 my order is a_1 a_10 a_3 It appears to me that "numeric" is getting ignored--or am I missing something? -- Dr. Richard E. Hawkins, Esq. (702) 508-

Re: Does user have network connection?

2016-01-15 Thread Dr. Hawkins
On Fri, Jan 15, 2016 at 7:43 AM, Bob Sneidar wrote: > I wonder if there is a way to get Apple Mail to bottom post... then I can > be different from almost everyone else on this list. ;-) > Just click in the editor below the text where you want your comment. -- Dr. Richard E. Hawkins, Esq. (

Re: Figuring out if something is on the current screen, or getting the current screen rect

2016-01-13 Thread Dr. Hawkins
On Mon, Jan 11, 2016 at 4:03 PM, Bob Sneidar wrote: > There is no notion of a current screen in the OS itself. Do you mean which > screen the frontmost window is in? And what do you mean by "In"? A window > can overlap two or more screens. Typically if you double click the title > bar of a window

Re: Getting Finder results into LiveCode

2016-01-12 Thread Dr. Hawkins
On Tue, Jan 12, 2016 at 5:50 PM, Kay C Lan wrote: > Have you changed the default keyboard shortcuts for anything ? > Now I see it. How unapplish. There at the bottom of the document, in the same colors as the document (white on black). I do change my settings to put the control key where God

Re: Getting Finder results into LiveCode

2016-01-12 Thread Dr. Hawkins
On Tue, Jan 12, 2016 at 8:00 AM, Klaus major-k wrote: > Hi Peter, > > > Am 12.01.2016 um 16:50 schrieb Peter M. Brigham : > > > > mdls doesn't like spaces in the file path. What do I do to escape spaces > here? > > Just QUOTE it: > … > put shell( "mdls" && QUOTE & tFilepath & QUOTE) into tFileInf

Re: Getting Finder results into LiveCode

2016-01-12 Thread Dr. Hawkins
On Mon, Jan 11, 2016 at 9:45 PM, J. Landman Gay wrote: > On 1/11/2016 10:37 PM, Kay C Lan wrote: > >> Unfortunately it involves using the mouse but if you press the Option + >> cmd >> keys whilst mousing over any Spotlight result Quicklook should pop-up and >> at the bottom is the file path - whi

Re: Figuring out if something is on the current screen, or getting the current screen rect

2016-01-09 Thread Dr. Hawkins
On Sat, Jan 9, 2016 at 4:26 PM, Mark Wieder wrote: > I would think that ideally the user should be in control of whether > something goes on one screen or another, and that this ability shouldn't be > taken away from them. > AFAIK,live code offers no such option when opening a stack . . . there

Figuring out if something is on the current screen, or getting the current screen rect

2016-01-09 Thread Dr. Hawkins
As I look through screenLoc, screenRect(s), etc., I'm not seeing *any* way to figure out which screen an object is on, short of manually comparing elements of its rect to the various bits of screensRects. In particular, I want to know if another stack (or group) that I set the position of will ac

equivalent to DISTINCT ON (with SUM()) for in-memory SQLite

2016-01-07 Thread Dr. Hawkins
I need to sum amounts and return keys where other fields are the same on an in-memory database. I have my own unique key uniqDna, fields cname and cadr, and numeric field due I want to SUM(due) for each unique cname||cadr, and get get the corresponding keys. DISTINCT ON would due this, but it's

Re: Checkboxs

2015-12-22 Thread Dr. Hawkins
As I generate forms with many checkboxes, I've actually constructed my own from fields. I needed them square, and not made of pixels, and the same size already used by the forms. I define "click groups" which share a behavior, and the name of the fields within the group set the value of the varia

Re: Script Indenting?

2015-12-15 Thread Dr. Hawkins
On Mon, Dec 14, 2015 at 11:09 PM, Jeanne A. E. DeVoto < revolut...@jaedworks.com> wrote: > This was changed because for very long scripts, indenting the entire > script (instead of just one handler) could cause a considerable pause when > indenting. (HyperCard did the whole script, but HyperCard a

quiet compile fails in behavior button

2015-12-15 Thread Dr. Hawkins
I am seeing this fairly regularly now, but can't reproduce it on command. After changing code in a button for a behavior (it never happens in a stack's own script, as far as I can tell), a save to compile will sometimes simply turn the button green--even though it failed on an error, whether synta

Re: hunting a bug on scripted custom properties not being saved

2015-12-02 Thread Dr. Hawkins
On Wed, Dec 2, 2015 at 3:44 AM, [-hh] wrote: > Up to LC 8-dp9, the properties are there, but NOT displayed in the new PI. > That's not the same bug, then. Here it would retrieve the old value, and open the older file. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___

Re: hunting a bug on scripted custom properties not being saved

2015-12-01 Thread Dr. Hawkins
On Tue, Dec 1, 2015 at 6:12 PM, Peter Haworth wrote: > I've run into this as well, don't remember if I entered a bug report or > not. > I just filed one. No number, as I had to pick up another computer to do it. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 _

hunting a bug on scripted custom properties not being saved

2015-12-01 Thread Dr. Hawkins
This has been taunting me all day. I have a routine to bump the versions of stacks and save them, and to set the new name as a custom property of the control stack. That main stack, at the moment, typically has not changes made to it until this happens. It appears that if the only change to the

Re: SQLite, keep connection open or close every time?

2015-11-30 Thread Dr. Hawkins
On Mon, Nov 30, 2015 at 8:28 AM, Bob Sneidar wrote: > The big reason I can think of to use it is that it is very easy to set up > and maintain. Security is handled by the file system it sits on. It's also magnificent for an in-memory variable system. I originally used an array (my system picke

Re: Death of the Application Browser

2015-11-30 Thread Dr. Hawkins
On Mon, Nov 30, 2015 at 12:41 PM, J. Landman Gay wrote: > 1. Horizontal/column view so it is easy to drill down from stack to card > to object, and see their relationships to everything else. Basically I want > Finder column view. > 2. I need to see card numbers and object layer numbers. > 3. I n

Re: Death of the Application Browser

2015-11-30 Thread Dr. Hawkins
On Sat, Nov 28, 2015 at 10:50 PM, Brahmanathaswami wrote: > Jacque: can you detail your requirements that make it a must for your > stacks to use the AP? > I'm not Jacqui, but the biggest single thing for me is the information density: the application browser puts far more on the screen, in tho

Re: Edinburgh Conference In August

2015-11-28 Thread Dr. Hawkins
On Fri, Nov 27, 2015 at 5:26 PM, Alex Tweedly wrote: > I'm hoping there will be more of you coming than would fit in :-) > Think of it as an opportunity to get a bigger place . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode ma

Re: SQLite, keep connection open or close every time?

2015-11-24 Thread Dr. Hawkins
On Tue, Nov 24, 2015 at 9:29 AM, Mark Wieder wrote: > Agreed on all counts, especially since SQLite works with databases in > memory. I tend to keep database connections open for as little time as I > can get away with, and if I have to lock resources I also lock as few as > possible in a multius

Re: revStacks hitting my openField handler in library

2015-11-22 Thread Dr. Hawkins
On Sun, Nov 22, 2015 at 3:04 PM, Richard Gaskin wrote: > Dr. Hawkins wrote: > >> On Sat, Nov 21, 2015 at 7:24 PM, J. Landman Gay wrote: >> >> > The deficiency isn't in the messaging system, but the monolithic file >> structure. The only reason I got

Re: revStacks hitting my openField handler in library

2015-11-22 Thread Dr. Hawkins
On Sat, Nov 21, 2015 at 7:24 PM, J. Landman Gay wrote: > No deficiency. The deficiency isn't in the messaging system, but the monolithic file structure. The only reason I got into this is the staggering amount of space being taken for each checkpoint. Moving into the 1990s with some kind of r

Re: revStacks hitting my openField handler in library

2015-11-21 Thread Dr. Hawkins
On Sat, Nov 21, 2015 at 6:27 PM, Scott Rossi wrote: > FrontScripts and backScripts are part of the normal message path and > aren't exclusive to any stacks. You might be able get away with private > handlers and functions triggered in a frontScript but you have to be extra > careful to always pa

Re: revStacks hitting my openField handler in library

2015-11-21 Thread Dr. Hawkins
On Sat, Nov 21, 2015 at 5:46 PM, Scott Rossi wrote: > Handlers in libraries are available to all open stacks. If you're relying > on standard messages in your library (ie openStack, closeStack, etc) these > will get triggered by any stack that opens or closes. You either need to > use custom ha

Re: revStacks hitting my openField handler in library

2015-11-21 Thread Dr. Hawkins
On Sat, Nov 21, 2015 at 4:29 PM, Dr. Hawkins wrote: > > I hacked around it with > Ugh. It's worse than I thought. I've added the hack to closeField and exitField. Now it seems suspendStack, resumeStack and the like are all up for this, too. And then there would be resi

Re: [OT] For you Arduino fans

2015-11-21 Thread Dr. Hawkins
On Fri, Nov 20, 2015 at 12:27 PM, Monte Goulding wrote: > Only because I could control it with mergBLE ;-) "Belligerent Lifelike Evil" ? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode mailing list use-livecode@lists.runrev.com Ple

revStacks hitting my openField handler in library

2015-11-21 Thread Dr. Hawkins
I don't think that this is supposed to happen . . . I've taken the time to break my substacks into their own files, and load them all. Now a version increment only creates a new 875k file rather than 9mb. It's taken some thinking, and what used to be the mainstack needs to be a library (otherwis

Re: garbage collection run amok again in 7.1.1Rc2?

2015-11-06 Thread Dr. Hawkins
On Fri, Nov 6, 2015 at 8:53 AM, Mike Bonner wrote: > I've seen similar, to the point where keystrokes are dropped in the script > editor, and I must type RELY slow to get things going. > at times when I assumed that that had happened, the keystrokes eventually showed up . . . -- Dr. Rich

Re: garbage collection run amok again in 7.1.1Rc2?

2015-11-06 Thread Dr. Hawkins
On Thu, Nov 5, 2015 at 3:29 PM, Ali Lloyd wrote: > I have actually seen this myself once whilst running in debug mode from > source, and I think it was stuck in a 'TryToEvaluate' loop for some reason > - I think it can be stopped by doing Cmd + . although that might not be the > same thing. > To

Re: garbage collection run amok again in 7.1.1Rc2?

2015-11-05 Thread Dr. Hawkins
On Thu, Nov 5, 2015 at 1:01 PM, J. Landman Gay wrote: > I think he probably meant "script" rather than "handler." But even my most > complex project wasn't that long. (If it really is a single handler then it > isn't written correctly.) When I see numbers like that, my first thought is > "optimiz

garbage collection run amok again in 7.1.1Rc2?

2015-11-05 Thread Dr. Hawkins
I am seeing the *long*, as in several seconds, delays again when making changes in long (10k+ line) handlers. A minor edit, and off to la-la land. Are others being this? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode mailing list use-

Re: Release 8.0.0 DP 8

2015-11-04 Thread Dr. Hawkins
On Wed, Nov 4, 2015 at 9:06 AM, Mark Wieder wrote: > Er... wait... there's a stable 7.1.1 release? > If there is, is there somewhere we can download? :) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode mailing list use-livecode@list

Re: Release 8.0.0 DP 8

2015-11-03 Thread Dr. Hawkins
On Tue, Nov 3, 2015 at 8:13 AM, Ali Lloyd wrote: > *SSL Support for PostgreSQL Connections* Ooooh. Is this one going to back-port into 7? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode mailing list use-livecode@lists.runrev.com Pl

Re: Chromebook deployment...

2015-10-31 Thread Dr. Hawkins
On Fri, Oct 30, 2015 at 5:17 PM, Mark Wieder wrote: > On 10/30/2015 03:33 PM, Richard Gaskin wrote: > > Apple's desktop OS has always been distinguished from Microsoft's >> > > That's true. > There's a wastebasket instead of a recycle bin. > /ducking But that's MS aping Apple. The win95 interf

Re: parentheses within string break value()

2015-10-27 Thread Dr. Hawkins
On Tue, Oct 27, 2015 at 8:54 AM, Bob Sneidar wrote: > put "SELECT foo FROM tTableName WHERE (bar > 7) AND (animal<>'cat');" into > tSQL > replace "tTableName" with tTableName in tSQL -- assuming tTableName > contains the name of a real table > > Looks and reads a whole lot cleaner. > > If it was

Re: parentheses within string break value()

2015-10-26 Thread Dr. Hawkins
On Mon, Oct 26, 2015 at 9:49 AM, Bob Sneidar wrote: > Now I get "Abc"45"123(def)" in tTest. I'm not sure what you are expecting, > but that is what is getting passed to value(). If you asked me to resolve > that, I would probably toss a few errors, not to mention a few brews, back > myself. > I

Re: parentheses within string break value()

2015-10-26 Thread Dr. Hawkins
On Mon, Oct 26, 2015 at 8:29 AM, Bob Sneidar wrote: > > > on mouseUp >put "Abc" & 45 & "123(def)" into tTest >put value (tTest) > end mouseUp > > tTest results in Abc45123(def) so you are trying to get the value of the > result of a function called Abc45123() where you pass a value in a

Re: Open Language and stability

2015-10-25 Thread Dr. Hawkins
On Sun, Oct 25, 2015 at 7:10 PM, J. Landman Gay wrote: > That's an irrational idea. >> >> > Quite, but it just goes on and on.. > We're not going to repeat this again? :) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode mailing li

Re: parentheses within string break value()

2015-10-25 Thread Dr. Hawkins
On Sat, Oct 24, 2015 at 5:58 PM, Scott Rossi wrote: > Is 123 a function? If yes, I believe you need to remove the quotes > surrounding it. > Just some text. I'm trying to concatenated strings, but livecode is looking at punctuation inside of the quoted literal. That was a simplified version;

Re: catching pasted text and forcing unicode

2015-10-24 Thread Dr. Hawkins
On Sat, Oct 24, 2015 at 2:25 PM, J. Landman Gay wrote: > I think the pasteKey message is what you want. Note that the IDE traps it, > so you won't receive it there but it works in a standalone or when you > suspend the development tools. That would let me trap it, and I'm resigned to that (just

parentheses within string break value()

2015-10-24 Thread Dr. Hawkins
I am finding that parentheses within strings break value() put value ("Abc" & 45 & "123(def)") produces Script compile error: Error description: local: not a valid variable or constant name If I escape it as put value ("Abc" & 45 & "123\(def\)") it produces Abc45123 I don't think tha

catching pasted text and forcing unicode

2015-10-24 Thread Dr. Hawkins
There is not a circumstance in which I will need to use multi-byted. ASCII would be fine, but it is missing the section (§) symbol, and the occasional ñ in a name. I do, however, have to deal with the mac/windows/unix character set split. Particularly, I need to watch for things being pasted in, b

Re: How can a button not have properties?

2015-10-23 Thread Dr. Hawkins
On Fri, Oct 23, 2015 at 1:53 PM, Peter Haworth wrote: > The properties property is an array so a simple put will not display > anything. > Yes, but put the keys of the properties of btn "File" of grp "mcp_menu" of cd 1 of stack "old_cp" also comes up empty. I found this when setting the p

How can a button not have properties?

2015-10-23 Thread Dr. Hawkins
How can put the properties of btn "File" of grp "mcp_menu" of cd 1 of stack "old_cp" *possibly* come up empty? This has come up while copying stacks out of my program into a new file. I shed .9mb, but am having other issues. Anyway, this comes about in a maintenance script that sets the tr

Re: [OT] Mac/Window duopoly assumptions

2015-10-21 Thread Dr. Hawkins
On Wed, Oct 21, 2015 at 8:58 AM, Bob Sneidar wrote: > As the saying goes, there are lies, there are Damnable lies, and then > there are statistics. from Mark Twain -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode mailing list use-liv

Re: SQLite: how to open existing database in memory

2015-10-21 Thread Dr. Hawkins
On Wed, Oct 21, 2015 at 8:25 AM, Bob Sneidar wrote: > But I think your idea of using a file copy method is the best way. I used > to do that with the Spiceworks database because the Spiceworks system would > periodically open the database and since it is really a single user system > opening it d

Re: SQLite: how to open existing database in memory

2015-10-21 Thread Dr. Hawkins
On Wed, Oct 21, 2015 at 8:10 AM, Bob Sneidar wrote: > Not entirely accurate. There are ways. > > > http://stackoverflow.com/questions/75675/how-do-i-dump-the-data-of-some-sqlite3-tables > But those muse a command line tool. You could use that through shell()to get the commands to recreate the db

Re: Quicktime in Windows 10?

2015-10-20 Thread Dr. Hawkins
On Tue, Oct 20, 2015 at 7:10 AM, Ralph DiMola wrote: > "The present day composers refuse to die" > Edgard Varèse > "Economics advances one funeral at a time" Paul Samuelson, Nobel Winner, author of standard textbook of his era, and several decades out of date at the time he said it -- Dr. Ric

Re: SQLite: how to open existing database in memory

2015-10-17 Thread Dr. Hawkins
On Sat, Oct 17, 2015 at 9:42 AM, Glen Bojsza wrote: > In creating an in memory database can you create one with a name? > There really wouldn't be a point to that Once you open a database, Livecode refers to it by number, not name. New line there is no direct way to dump a database from memory

Re: Sockets

2015-10-16 Thread Dr. Hawkins
On Fri, Oct 16, 2015 at 5:09 PM, Eric Corbett wrote: > Thanks Dr. Hawkins, I’ll look that up. Does your code have both computers > doing an “accept connection on port …”? And is the port different on each > computer or the same? Maybe I’ll have my answer from a code audit. > Master

Re: uncrufting a stack file?

2015-10-16 Thread Dr. Hawkins
On Fri, Oct 16, 2015 at 2:54 PM, Bob Sneidar wrote: > At that point I would consider backing up all your data, buying a new hard > drive and starting from scratch with a new OS. Tempting, but . . . This is happening identically, with the same size (3.3mb) partial save file, on a MacBook Pro re

Re: Sockets

2015-10-16 Thread Dr. Hawkins
On Fri, Oct 16, 2015 at 1:44 PM, Eric Corbett wrote: > Bonus: How do I use the "|[connection id]”? I use an id for open socket > and write to, but the address from the readSocket callback does not contain > an ID. Is this a bug? I use write to… with message… and this handler has > the ID as part

uncrufting a stack file?

2015-10-16 Thread Dr. Hawkins
Is there any good way to "uncruft" a stack file? I'm thinking in terms of a script that copies pieces from the old stack file to a new file, while somehow keeping the references such as behaviors intact. I am increasingly convinced that there is an evil accumulation of something or another that h

Re: Forcing string comparisons, or When is "0" not 0?

2015-10-15 Thread Dr. Hawkins
On Thu, Oct 15, 2015 at 10:07 AM, Mark Waddingham wrote: > We added 'is really a' operators in LC8 to help with writing code which > needs to preserve values exactly (the main use-case is lcVCS) - so we have > been considering an 'is really' operator. > Soon to be accompanied by the 'damnit, I m

Re: scaleFactor strangeness

2015-10-14 Thread Dr. Hawkins
On Tue, Oct 13, 2015 at 3:38 PM, Richard Gaskin wrote: > Can we have the scalingFactor available for the contents of groups? > > That's probably the biggest single thing I cold wish for right now. I'd even call it a critical need . . . I have s

Re: Forcing string comparisons, or When is "0" not 0?

2015-10-14 Thread Dr. Hawkins
On Wed, Oct 14, 2015 at 2:10 PM, Devin Asay wrote: > I'll have to explain to them that “LiveCode tries its hardest to make > something into a number if there is any chance at all that it could be a > number, so we have to do an extra check to make sure it’s not this specific > type of numeric exp

Re: Forcing string comparisons, or When is "0" not 0?

2015-10-14 Thread Dr. Hawkins
On Wed, Oct 14, 2015 at 1:19 PM, Devin Asay wrote: > Shouldn’t there be a way to force a string comparison? I know LC tries to > be all helpful about casting numerals as numbers, but what if I want to > know if it’s the exact string? > if (space & field "Display" ) = (space & someValue) then .

Re: function for greatest object in list less than or equal to a value

2015-10-14 Thread Dr. Hawkins
On Mon, Oct 12, 2015 at 6:35 AM, wrote: > My gadget adds the index in a parameter to the function. if it already > exists in the list, the addition is superfluous, but harmless. > But if the search list is "2, 4", and the search value is 3, doesn't this return "3" rather than 2? -- Dr. Richar

Re: function for greatest object in list less than or equal to a value

2015-10-14 Thread Dr. Hawkins
On Mon, Oct 12, 2015 at 4:24 PM, Geoff Canyon wrote: > function greatestLessThan pList,V >sort items of pList descending numeric >sort items of pList by each >= V >return item 1 of pList > end greatestLessThan Something along these lines was what I'm trying to wrap my head around, w

function for greatest object in list less than or equal to a value

2015-10-11 Thread Dr. Hawkins
It would be nice to have an intrinsic for this, but I just read the entire function list . . . I need to find the largest number in a list which is smaller than a specified value. e.g., for the list "1,3,4,7,9" and 5, the largest such value would be 4. In a spreadsheet, I could use use vlookup()

Re: customProperties or similar for words in a field?

2015-10-10 Thread Dr. Hawkins
On Sat, Oct 10, 2015 at 6:24 PM, Richard Gaskin wrote: > Hello World That gets back to parsing backwards from the point of insertion, I think . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode mailing list use-livecode@lists.runr

Re: customProperties or similar for words in a field?

2015-10-10 Thread Dr. Hawkins
On Sat, Oct 10, 2015 at 5:34 PM, J. Landman Gay wrote: > I can't think of anything elegant offhand. What popped into my head was a > "madlibs" approach where you put up a dialog requesting the various data > items and save the responses. Not pretty. > I'm partway there. I parse each input line

Re: customProperties or similar for words in a field?

2015-10-10 Thread Dr. Hawkins
On Sat, Oct 10, 2015 at 8:21 AM, J. Landman Gay wrote: > > This sounds like a job for the merge command. > > thanks,but that's a one-way trip. If the user changes something, I need to know which piece, as it shows up elsewhere. (And, potentially the user could change the base text, too, which

Re: customProperties or similar for words in a field?

2015-10-10 Thread Dr. Hawkins
It has also occurred to me to wrap in an html tag or some such to do this. On Sat, Oct 10, 2015 at 7:58 AM, Dr. Hawkins wrote: > Most of what I generate is forms, so keeping track of fields is easy and > natural. > > I am now getting to motions, which will use data much like mai

customProperties or similar for words in a field?

2015-10-10 Thread Dr. Hawkins
Most of what I generate is forms, so keeping track of fields is easy and natural. I am now getting to motions, which will use data much like mail-merge in a word processor. So I might use something like Debtor ##dname## filed this petition on ##petdate## to generate Debtor John Doe filed th

Re: the constant crashing of the IDE

2015-10-09 Thread Dr. Hawkins
On Fri, Oct 9, 2015 at 2:34 PM, Dr. Hawkins wrote: > Also, I started frequently getting the message that "a stack revCursors is > already in memory". This message now *always* happens if I turn messages > off in livened before loading a stack. > now file

Re: the constant crashing of the IDE

2015-10-09 Thread Dr. Hawkins
On Fri, Oct 9, 2015 at 2:26 PM, Dr. Hawkins wrote: > It took an hour to rename three fields this morning . . . > Also, I started frequently getting the message that "a stack revCursors is already in memory". This message now *always* happens if I turn messages off in livened

Re: the constant crashing of the IDE

2015-10-09 Thread Dr. Hawkins
On Fri, Oct 9, 2015 at 10:49 AM, Paul Hibbert wrote: > The same just happened to me this morning, nothing to do with messages, > but I didn’t save the crash report at the time, I can see if I can find it, > do you have a bug report for this problem? > No bug report; I don't have much to say at t

Re: the constant crashing of the IDE

2015-10-09 Thread Dr. Hawkins
On Fri, Oct 9, 2015 at 6:53 AM, Dr. Hawkins wrote: > When I get repeated crashes when saving, I try opening livecode, turning > off messages, saving, making a small number of changes, and saving again, > which usually gets me there. OK, scratch that. I just turned off messages, save

Re: the constant crashing of the IDE

2015-10-09 Thread Dr. Hawkins
On Fri, Oct 9, 2015 at 5:35 AM, Mike Kerner wrote: > All of the crashes I have seen in the IDE have been the result of plugins - > I have *no* plugins and one library stack with scripts. I see a few crashes an hour when this is happening, the majority happening when I save. About 80% of the t

the constant crashing of the IDE

2015-10-08 Thread Dr. Hawkins
I'm seeing constant crashing of the IDE that I can't quite reproduce. I'm pretty sure that it's ore than one thing, as sometimes live code crashes while just opening a stack. But I'm starting to think I see a connect to it happening when a cursor has been left in a field or in an inspector. But

Re: LC 8 Property Inspector

2015-10-08 Thread Dr. Hawkins
On Thu, Oct 8, 2015 at 10:56 AM, Roger Guay wrote: > Sometimes, a word is worth a thousand pictures! > I have the text toolbar set, and don't waste screen space on icons. OK, so I spend more time in a terminal than the finder; I'm more a unix guy who's hooked on spotlight and Apple's laptops th

Re: App Browser versus Project Browser

2015-10-08 Thread Dr. Hawkins
On Wed, Oct 7, 2015 at 11:51 PM, Mark Waddingham wrote: > > i.e. There is was a strong hint that continued usage of the Application > Browser was related to its presence, rather than fondness. > > Essentially I was trying to determine whether it was familiarity or like > which was the issue here.

Re: App Browser versus Project Browser

2015-10-08 Thread Dr. Hawkins
On Wed, Oct 7, 2015 at 8:25 PM, Mark Wieder wrote: > On 10/07/2015 11:54 AM, Mark Waddingham wrote: > >> So if we had deleted the app browser stack from the build, would your >> point of view have changed and would you have started to use the project >> browser? ;) >> > > Wow. I step away for a d

Re: Further regression of the Pirate Code Dots

2015-10-05 Thread Dr. Hawkins
On Sun, Oct 4, 2015 at 9:08 PM, Charles Warwick < char...@techstrategies.com.au> wrote: > Ah, this is with "preOpenStack", not "openStack”. That is why I wasn’t > noticing the issue. > > Using your uploaded stack the hardcoded “breakpoint” line triggered the > debugger every time before the answe

Re: Further regression of the Pirate Code Dots

2015-10-04 Thread Dr. Hawkins
On Sun, Oct 4, 2015 at 2:46 AM, Charles Warwick < char...@techstrategies.com.au> wrote: > I just tried to reproduce that one myself in LC 7.1.0 and LC 8.0 DP5, but > the breakpoint was > triggered every time without requiring an answer dialog. > > Do you have a simple example stack I could try? >

current/this stack changes and doesn't reset when calling custom dialog

2015-10-03 Thread Dr. Hawkins
I created my own dialog for a variety of reasons, but get different behavior than when using ask In put the name of this stack answer "should i" with "yes" or "no" put it into theRes put the name of this stack the stack doesn't change. However put the name of this stack put dhbkAnswer( "s

Re: Further regression of the Pirate Code Dots

2015-10-03 Thread Dr. Hawkins
On Sat, Oct 3, 2015 at 10:27 AM, Fraser Gordon wrote: > I searched the bugzilla but couldn't find reports of either of these... > what are the bug numbers so we can ensure that they are given the > appropriate priority? > *blink* Those aren't in the DB? They've been around so long . . . and ha

Further regression of the Pirate Code Dots

2015-10-03 Thread Dr. Hawkins
I just realized that sometime along the way, I just came to accept this further regression. I have always had to force an answer, and then a breakpoint, if I wanted execution to break on startup. Unacceptable, a sloppy and longstanding bug on live code's part, but I learned to live with it. I ha

Re: list etiquette

2015-10-02 Thread Dr. Hawkins
On Fri, Oct 2, 2015 at 9:38 AM, Bob Sneidar wrote: > Another issue is that some people use the digest while others do not. This > seems to create a new thread named the same thing when replying from the > digest. So far as I have been able to ascertain, nothing can be done about > this other than

Re: list etiquette

2015-09-29 Thread Dr. Hawkins
On Tue, Sep 29, 2015 at 3:13 AM, Kay C Lan wrote: > What are you using to view the List? I use Gmail and I have no such > problem, every single post in the PencilCase thread has exactly the same > subject so Gmail can automatically rethread based on Subject. Maybe there > is a Preference within

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