On Jun 1, 2012, at 1:47 AM, stephen barncard wrote:
> yeah, like me, I was devoted to read the Evangelist and Hypercard forums
> every day. I piped the forums into the studio First Class systems.
First Class! Now that brings back memories! Is there a museum somewhere for
dead software?
-- Peter
Two of my other contacts have "sent" me spam from their Yahoo accounts in the
past week. I suspect that someone has recently succeeded in a large scale Yahoo
attack.
-- Peter
Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig
On May 31, 2012, at 6:32 PM, Bob Sneidar wrote:
> So
On May 31, 2012, at 8:44 AM, René Micout wrote:
> under name "pmbrig " ?
Yes, I just posted something on this forum mentioning LC. So did Lynn
Fredericks.
-- Peter
Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig
> Le 31 mai 2012 à 13:15, Bernard Devlin a écrit :
>
>> http:
On May 30, 2012, at 12:51 PM, Richmond wrote:
> It is odd that the e-mail didn't say who wrote the "Training Live in Atlantic
> City" book.
That's OK, I didn't get the email.
-- Peter
Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig
_
You could use this, something I saved along the way. I *think* it's from the
stdLib by Ken Ray and Richard Gaskin, but I've lost track.
on deleteCustomProperty tObjRef,tPropSet,tProp
-- not sure where this comes from, it's not mine
-- thanks to !
put the custompropertyset of tObjRef int
On May 25, 2012, at 5:40 PM, Matthias Rebbe wrote:
> Hi,
>
> Bob Sneidar already helped me out.
>
> Regards,
>
> Matthias
> Am 25.05.2012 um 23:26 schrieb Matthias Rebbe:
>
>> Hi,
>>
>> last year in summer Peter M. Brigham posted a download link to his library
>> textlib.rev. The download
On May 25, 2012, at 5:40 PM, Matthias Rebbe wrote:
> Hi,
>
> Bob Sneidar already helped me out.
>
> Regards,
>
> Matthias
> Am 25.05.2012 um 23:26 schrieb Matthias Rebbe:
>
>> Hi,
>>
>> last year in summer Peter M. Brigham posted a download link to his library
>> textlib.rev. The download
on the bet it would pay off.
I'll probably content myself with making standalone utilities to help
supplement the software I'm about to have to use. I'm already working on
something that will display drug interactions for a list of meds.
> On May 24, 2012, at 8:16 PM, Peter
On May 25, 2012, at 12:14 AM, Bill Vlahos wrote:
> Peter,
>
> So you have over 140,000 objects to search through and it does that in 20
> seconds? How long does it take the LiveCode Find and Replace function to
> search all of that? Searching through all those objects in 20 seconds might
> not
On May 24, 2012, at 6:36 PM, Paul Looney wrote:
> Bill,
>
> I've been following the RunRev list comments about lcTaskList speed.
>
> For what it is worth
> 1. I have 46 large stacks open on my desktop (just for testing, I don't work
> this way)
> 2. Some of these are substacks, most are main st
On May 23, 2012, at 8:11 PM, Andre Garzia wrote:
> On Wed, May 23, 2012 at 9:02 PM, Tim Jones wrote:
>
>> On May 23, 2012, at 4:43 PM, Andre Garzia wrote:
>>
>>> If you're not a Packrat user, your history is retained only for 30 days
>> if I remember correctly. This is enough to save your life
On May 23, 2012, at 9:50 AM, Bill Vlahos wrote:
> I have not seen anything like that delay as I do a wait for 0 seconds but not
> with messages.
>
> How many stacks do you have open? How big are they?
mainstack + 45 substacks (not all open, but showing in the application
browser), 34,000+ line
On May 23, 2012, at 12:24 AM, Bill Vlahos wrote:
> Have you ever forgotten where you last left off in your scripts? Need a
> better way to manage the code you need to write or fix, or make a quick note
> of a future feature?
>
> The lcTaskList plugin for LiveCode helps you bookmark and priorit
ter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig
On May 21, 2012, at 3:02 PM, Bob Sneidar wrote:
> Wasn't there a recent post that indicated this would not work? Anything
> before a certain date (I forget what it was) would be a day off?
>
> Bob
>
>
> On May 21,
Here's what I use for #1:
function doAge tDate,asOf
-- return the age given birthdate =
-- as of the date (if empty, assumes today)
convert tDate to dateItems
if asOf = empty then
put the date into asOf
end if
convert asOf to dateitems
put item 1 of asOf - item 1 of tD
On May 18, 2012, at 1:16 AM, Richmond wrote:
> On 18/05/12 02:53, -=>JB<=- wrote:
>> I thought there was an option to save it that way. In the
>> past they could.
>
> "The past is another country, and they do things differently there." J. P.
> Hartley.
That's a coincidence -- I come from that
On May 16, 2012, at 6:46 PM, Mark Wieder wrote:
> It's better than the typo I usually make, where it comes out LiceCode.
Ooooh, now *that's* buggy code...
-- Peter
Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig
___
use-livecode ma
On May 15, 2012, at 10:06 PM, J. Landman Gay wrote:
> On 5/15/12 6:21 PM, Igor de Oliveira Couto wrote:
>> On 16/05/2012, at 8:40 AM, Peter Haworth wrote:
>>
>>> Ah, another conspiracy theorist I see!
>>
>> All conspiracy theories aside, there *is* something to be said about giving
>> Google, F
On May 15, 2012, at 1:33 PM, Richmond wrote:
> On 05/15/2012 03:56 PM, Peter M. Brigham, MD wrote:
>> I'm still running Office 2004 (Mac) -- never saw a reason to move on. Doing
>> the regular updates allows forward compatibility, so I can open newer Word
>> document
ave an array with 3 keys, test1,test2,test3. You only want the values
> from test3.
>
> put printkeys(myArray) into theArrayText
> filter theArrayText with "*test3: *"
>
> Voila! Now you only have values from the test3 key.
>
> Bob
>
>
> On May
I'm still running Office 2004 (Mac) -- never saw a reason to move on. Doing the
regular updates allows forward compatibility, so I can open newer Word
documents fine. Of course, I'm not doing any heavy lifting in Word, so I don't
need a lot of features. I'll have to buy the new version when I sw
the filtering is done so I can effectively filter an array.
> Pretty handy at times.
>
> Let me know if you want those functions as well.
>
> Bob
>
>
> On May 12, 2012, at 7:27 AM, Peter M. Brigham, MD wrote:
>
>> Thanks, Bob.
>>
>> B
http://home.comcast.net/~pmbrig
On May 12, 2012, at 10:26 PM, Dar Scott wrote:
> Nice. May I mention that as an alternative on my website or should this be
> considered an ephemeral link?
>
> Dar
>
> On May 12, 2012, at 11:07 AM, Peter M. Brigham, MD wrote:
>
>> Cool! I
Cool! I took the liberty, Dar, of adding crosshairs to the image display, so
the cursor hotspot is easy to see. The modified stack is at:
http://dl.dropbox.com/u/3504108/Tiny%20Loupe.rev.zip
-- Peter
Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig
On May 11, 2012, at 1:08 AM,
If you have streets like "SW 34th St" you'll have a problem -- you should
probably adjust your pickStreet function:
function pickStreet pName
if word 1 of pName is among the words of "N S E W NE NW SE SW" then
return word 2 to -1 of pName
end if
return pName
end pickStreet
-- Pete
On May 10, 2012, at 5:49 PM, Bob Sneidar wrote:
> I just forwarded an email Trevor sent to the list some time ago with the code
> in it.
>
> Bob
>
>
> On May 10, 2012, at 2:34 PM, Peter M. Brigham, MD wrote:
>
>> It was apparently part of Trevor's sqlYog
Thanks, Bob.
BTW, don't know why but as you can see your LC scripts tend to have asterisks
bracketing keywords, not to mention extra blank lines. Are you pasting
formatted text that's getting mis-translated?
I can clean this up and try it out, thanks again.
-- Peter
Peter M. Brigham
pmb...@g
d library. Add a datagrid to your project
> and see if it works.
>
> Bob
>
>
> On May 10, 2012, at 11:12 AM, Peter M. Brigham, MD wrote:
>
>> Sorry, I know you've written about printkeys() but I don't have it. Is it a
>> function handler? If so ca
ntains after the script finishes
> executing as well.
>
> Bob
>
>
> On May 10, 2012, at 6:27 AM, Peter M. Brigham, MD wrote:
>
>> Well, I've given up for the moment. Weeding out null characters made no
>> difference, and arrayEncoding/decoding made no difference
d it a few
> times and it's worked very nicely. Probably too late for you now since
> you've written LC handlers to do it.
>
> Pete
> lcSQL Software <http://www.lcsql.com>
>
>
>
> On Thu, May 3, 2012 at 10:47 AM, Peter M. Brigham, MD wrote:
>
>>
On May 8, 2012, at 2:57 PM, William de Smet wrote:
> Now searching the forum for a way to use AirPrint (but that one seems
> sort of impossible at the moment).
I have a set of handlers that sends a print job from within LC to whatever the
currently available printer is, whether a USB-connected p
On May 7, 2012, at 12:18 PM, Bob Sneidar wrote:
> If a developer doesn't descends into a crazed sputtering rage from time to
> time, they probably should not be developing software. ;-)
PROGRAM, tr.v. To engage in a pastime similar to banging one's head
against a wall, but with fewer opportuniti
On May 5, 2012, at 5:50 PM, Dar Scott wrote:
> In Primer Primer, menu item disabling no longer works. The "(" at the end of
> the menu items line shows up and the item is not disabled.
Doesn't the "(" have to come at the start of the line?
-- Peter
Peter M. Brigham
pmb...@gmail.com
http://hom
On May 3, 2012, at 6:28 PM, Peter Haworth wrote:
> - split tVar by whateverworks
>
> - if tvar IsSomethingCloseTo "abc" then
>
> - send mouseUp to button "xyz" AtSomePointInTime
>
> - get SomeSortOfOffset(tvar,tText)
>
> - put Optionally "xyz" into tVar
"2 + 2 = 5, for sufficiently large
On May 3, 2012, at 5:34 PM, dunb...@aol.com wrote:
> Peter.
>
> There was a very recent thread about permissible chars for an array, and it
> seems that all chars except null work fine. is it possible that your
> recalcitrant empty lines might contain (or simply be) a null?
Would putting the s
On May 3, 2012, at 3:10 PM, Ken Ray wrote:
>
> On May 3, 2012, at 12:47 PM, Peter M. Brigham, MD wrote:
>
>> I have a customprop, CYPdata, that is an array, each element of which is an
>> array itself. I am scraping the data to build CYPdata from an HTML page on
>>
On May 3, 2012, at 3:10 PM, Ken Ray wrote:
>
> On May 3, 2012, at 12:47 PM, Peter M. Brigham, MD wrote:
>
>> I have a customprop, CYPdata, that is an array, each element of which is an
>> array itself. I am scraping the data to build CYPdata from an HTML page on
>>
I have a customprop, CYPdata, that is an array, each element of which is an
array itself. I am scraping the data to build CYPdata from an HTML page on the
web, and filling it via script by parsing the HTML. There is an odd bug that
I'm trying to get to the bottom of, and something strange is hap
There used to be a clipboard utility for the Mac (somewhere back in the 10.5
days or thereabouts) that would allow you to manipulate the contents of the
clip after copying, with a huge variety of options: text functions like
changing case, font, size, unwrapping "hard" lines, etc., and IIRC also
On May 2, 2012, at 2:26 PM, Scott Rossi wrote:
> Recently, Mike Kerner wrote:
>
>> Interesting article from VentureBeat on LinkedIn's mobile app. It was
>> built in
>> http://venturebeat.com/2012/05/02/linkedin-ipad-app-engineering/
>
> An interesting (and important, IMO) comment at the
On May 1, 2012, at 1:25 PM, Bob Sneidar wrote:
> This is getting embarrassing. Seems that setting wholeMatches to true
> prevented finding a tab item that was preceded by a "(" which is the
> disabling character for a menu item. If I can't find it, I can't re-enable
> it! This should resolve th
On Apr 29, 2012, at 3:49 PM, Peter Haworth wrote:
On Sun, Apr 29, 2012 at 12:07 PM, Alex Tweedly wrote:
>> H ... I could be wrong (Haven't done it myself), but I thought the
>> usual way to do this was to have a "splash screen" approach
>>
>> - the splash screen stack starts up and quickly
On Apr 23, 2012, at 11:53 PM, Barry G. Sumpter wrote:
> Hi all,
>
> I'm using the LC for Android browser.
> I've got a web page .html that will allow me to pin point a specific
> location on a Google map.
> The HTML will display the lat n lng of that address and the closest matching
> address.
>
On Apr 21, 2012, at 5:19 AM, Ian McKnight wrote:
> Hi
>
> I have a stack which produces a set of tables which I want to export to
> excel.
>
> What I would like:
> User clicks a button in LC and excel opens with the tables in place.
>
> What I have:
> User clicks a button, saves the file to dis
If using Mark's custom tab control doesn't work for you, here's a kludgy
work-around. It requires a hidden field "hiddenTestFld" with margins set to 6.
on positionControl btnName, tabNbr
-- btnName is the name of your tab button
put the formattedwidth of btn btnName into bWidth
put the f
More specifically: close a stack, and the "closeStack" message is sent first to
the current card of the closing stack. When you close a substack, if there is
no closestack handler in the card script then the message is passed up the
message path, and the next station on the path is the substack
On Apr 9, 2012, at 9:06 PM, Nicolas Cueto wrote:
>
>
> If only it truly were that simple...
>
> In my example, lineOffset would return "3" for "is". But "5" is what I'm
> after.
Sorry, setting the wholematches to true then doing lineoffset will get you
whole matches for lines. Instead:
set
Set the wholematches to true before your search, then it will only locate the
string when it is a whole word.
-- Peter
Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig
On Apr 9, 2012, at 9:06 PM, Nicolas Cueto wrote:
>> The 'lineOffset' function will be your friend here...
>
On Apr 7, 2012, at 1:38 PM, Charles Szasz wrote:
> Peter,
>
> Thanks! But that is how the script is presented in the Resource Center with
> no breaks before the end of the switch. I did insert a break after the last
> case statement but the script still does not work. Any other suggestions?
Ju
On Apr 6, 2012, at 10:44 PM, Charles Szasz wrote:
> on menuPick theMenuItem
> set the itemDelimiter to "|"
> switch item 1 of theMenuItem ---the submenu name
> case "Font"
> set the textFont of field "Example Text"\
>to item 2 of theMenuItem
> break
>
What article are you talking about?
-- Peter
Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig
On Apr 6, 2012, at 12:03 PM, Bob Sneidar wrote:
> Kudos to Mark Smith for a good article. It demonstrates how technique
> transcends the environment.
>
> Bob
> _
On Apr 1, 2012, at 9:20 AM, mark.rauter...@gmail.com wrote:
>
> Sent from my BlackBerry®
Q?
-- Peter
Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this ur
On Apr 1, 2012, at 8:36 AM, Klaus on-rev wrote:
> Hi all,
>
> Am 01.04.2012 um 14:31 schrieb Gene Lambert:
>
>> Wow! I want one, or two. The lawyers are going to love this. If talking on
>> a cell phone while driving was an intense national issue, just wait until
>> they get wind of people wan
If you put the field into a group and set the group's traversalon to false, it
will prevent the field from getting the focus on opencard, at least in desktop
stacks. Don't know if this works in iOS too.
-- Peter
Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig
On Mar 31, 2012,
On Mar 30, 2012, at 12:29 PM, Pete wrote:
> Those quantum guys are such pranksters!
or not!
-- Peter
Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url
On Mar 29, 2012, at 6:56 PM, Mike Bonner wrote:
> Its a particle.. Its a wave! its a particle. Its a wave! Its a cat in a
> box!
Coincidence -- someone just sent me today a cartoon: a fake poster:
Reward! $1,000,000,000
Schroedinger's Cat
Wanted Dead and Alive
-- Peter
Peter M. Brigham
pmb...
On Mar 28, 2012, at 9:39 AM, I wrote:
> I have a bias (often warranted) towards using LC's text and chunking
> capabilities rather than LC. If you know that the runs of question marks and
> exclamation points will alway be length = 3 then you could avoid Regex: ...
Sorry, meant to say "I have a
On Mar 28, 2012, at 11:19 PM, Bill Vlahos wrote:
> I am building a regular expression to find a set of question marks and
> exclamation points. For example ??? or !!!.
>
> These are special characters so they mean something to a regular expression.
>
> How do I find them in the text?
>
> If I
For instance, in your stack, or in your field script:
start using stack "calendarWidget100"
-- d = date, in dateitems format
put altAnswerDate(item 1 of d,item 2 of d,item 3 of d) into theDate
stop using stack "calendarWidget100"
if theDate = "" then exit to top
put item 2 of theDate & "/" & item
What is the maximum size of a string used as a key of an array? I can't find it
in the documentation. 256 sticks in my mind. ???
-- Peter
Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig
___
use-livecode mailing list
use-livecode@li
The syntax is there at the top but it's not formatted -- tabs or space-runs
between the lines instead of cr's. Looks like a problem in the dictionary stack
with displaying the text from the customprop. If it were displayed properly you
could see the structure, and then the commentary would expla
On Mar 22, 2012, at 5:21 PM, Mark Wieder wrote:
> Peter M. Brigham, MD writes:
>
>>>> Yes. When I use "-1" instead of the lengthier form, it won't compile, and
> the long form compiles but doesn't
>> do anything when I execute it. No error, no
On Mar 22, 2012, at 1:32 PM, J. Landman Gay wrote:
> On 3/22/12 12:21 PM, Jim Hurley wrote:
>> Thanks Peter.
>>
>> The problem now is what do these bloody error numbers translate into.
>> Is the a list somewhere?
>
> The list is explained in the "errordialog" entry in the dictionary. You can
>
On Mar 22, 2012, at 1:21 PM, Jim Hurley wrote:
> Thanks Peter.
>
> The problem now is what do these bloody error numbers translate into.
> Is the a list somewhere?
Jacque posted this two days ago:
On 3/20/12 12:37 PM, Ralph DiMola wrote:
> OK, I give up. How do you translate error num
On Mar 22, 2012, at 1:11 PM, Jim Hurley wrote:
> It does give an error here. I get the error message:
>
> button "Button": execution error at line n/a (Object: object does not have
> this property)
Sounds as if you're trying to get a built-in property that doesn't apply to
that type of objec
On Mar 22, 2012, at 12:22 PM, Jim Hurley wrote:
> Bob,
>
> Yes that would be fine, except that I get a compilation error at the line:
>
> catch theError, theNum
>
> RR says: (try: not a command), char 7
The syntax for the try construction is
try
catch tError
end try
and the error
On Mar 22, 2012, at 11:33 AM, Jim Hurley wrote:
> For example, suppose one wanted to catch an error in the statement:
>
> put the {some built-in property of an object] of button "soAndso" into tProp
>
> Where the built in property may not exist.How would one catch the error and
> perhaps proce
On Mar 22, 2012, at 11:33 AM, Jim Hurley wrote:
> The dictionary needs an example of how the "try" command is used to catch an
> error.
>
> Anyone have an illustration?
>
> For example, suppose one wanted to catch an error in the statement:
>
> put the {some built-in property of an object] o
On Mar 20, 2012, at 4:51 PM, Mark Wieder wrote:
> Jacque-
>
> Tuesday, March 20, 2012, 1:44:08 PM, you wrote:
>
>> On 3/20/12 3:30 PM, Mark Wieder wrote:
>>> Jacque-
>>>
>>> Tuesday, March 20, 2012, 1:20:51 PM, you wrote:
>>>
> _internal script colorize line 1 to (the number of lines of fi
On Mar 20, 2012, at 11:52 AM, Bob Sneidar wrote:
> So let it be done! But let's go with consistency in ALL things.
Tough to do, as long as we're using English -- though you might have thought
through this already (cough, cough):-)
-- Peter
Peter M. Brigham
pmb...@gmail.com
http://home.comc
On Mar 20, 2012, at 11:46 AM, J. Landman Gay wrote:
> On 3/20/12 9:30 AM, Peter M. Brigham, MD wrote:
>> Anyone know how I can get the colorized htmltext of a script from the
>> script editor without opening the editor and copying the text?
>
> I don't think you can any
On Mar 20, 2012, at 10:00 AM, Klaus on-rev wrote:
> Hi Peter,
>
> Am 20.03.2012 um 14:40 schrieb Peter M. Brigham, MD:
>
>> On Mar 20, 2012, at 1:52 AM, Geoff Canyon wrote:
>>
>>> On Mon, Mar 19, 2012 at 12:54 PM, J. Landman Gay
>>> wrote:
>>
Anyone know how I can get the colorized htmltext of a script from the script
editor without opening the editor and copying the text? I have a handler that
puts a section of a stack script into a field -- pretty straightforward to just
extract the relevant plain text from the script. But it would
On Mar 20, 2012, at 1:52 AM, Geoff Canyon wrote:
> On Mon, Mar 19, 2012 at 12:54 PM, J. Landman Gay
> wrote:
>
>> I think it should behave the same way character selections do. A negative
>> range has been a valid construct since HyperCard and is, actually, the only
>> way to set the insertion po
repeat with n = 1 to length(tInput)
if char n of tInput is a number
then put "+" into char n of tInput
else put "-" into char n of tInput
end repeat
Or am I missing something?
-- Peter
Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig
On Mar 19, 2012, at 5:15 PM, Pete w
Now, I know for sure you can scale a fish. Never done it using LC, though. Is
there an external for that?
-- Peter
Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig
On Mar 19, 2012, at 1:24 PM, François Chaplais wrote:
> Try using a fish.
> Fish! Fish! my favorite dish!
> Fran
The other way, which I have used for some time, is to group the field (either
in a group by itself, or including all the fields you don't want to
automatically get focused) then set the group's traversalOn to false.
-- Peter
Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig
On
Another approach, may not be exactly what you're looking for but can easily be
adapted, is a utility handler I've used for years:
function offsets str,@cntr
-- returns a comma-delimited list of all the offsets of str in cntr
-- cntr is passed by reference to avoid unnecessary duplication
Mar 5, 2012, at 6:51 PM, J. Landman Gay wrote:
> On 3/5/12 4:46 PM, Sivakatirswami wrote:
>
>> I have studied out behaviors a bit, but can we use a behavior button as
>> a kind of template for all the static props of other objects?
>>
>> e.g. you have twenty buttons on a GUI and you want to cha
Impossible to understand this out of context.
-- Peter
Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig
On Mar 4, 2012, at 2:04 PM, Cal Horner wrote:
> Hi Bob
>
> No, nothing as sophisticated as that.
>
> Check the second paragraph of my first posting. It was vanilla LC 5.0.2
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
>
> Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za
>
> On 27 feb 2012, at 23:20, Peter M. Brigham, MD wrote:
>
>> Just got this from Mac
I see I'm behind the curve again, should have read the rest of the thread
before posting...
-- Peter
Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig
On 2/25/11, Peter Brigham wrote:
> On Feb 24, 2012, at 3:58 PM, J. Landman Gay wrote:
>
>> On 2/24/12 1:55 PM, Dar Scott wrot
On Feb 24, 2012, at 3:58 PM, J. Landman Gay wrote:
> On 2/24/12 1:55 PM, Dar Scott wrote:
>
>> I suspect we are all doing this the wrong way. Maybe there are
>> debugging features or compiler optimizations that allow for better
>> ways to do this.
>
> I've started doing it the way someone else
Here's what I've been using for years, same idea, but more general:
function howmany tg,ctr
if ctr = empty then return 0
repeat for each item i in "8,7,6,5,4"
put numtochar(i) into divChar
if divChar is not in ctr then exit repeat
if i = 4 then return "error in howmany()"
Probably something like this will do:
on mouseup
put word 2 of the clickline into lineNbr
select line lineNbr of me -- assumes autohilite = true
wait 8 ticks
select empty
end mouseup
-- Peter
Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig
On Feb 22, 2012, at 10:05 AM,
Ah, another grammarhead! I love it! I've always found it interesting that the
obsessive focus on syntax and grammar needed by programmers/coders to use the
coding language well is rarely associated with equal attention to grammatical
English.
-- Peter
Peter M. Brigham
pmb...@gmail.com
http://h
I picked this trick up from someone along the way, on this list I believe, I've
lost track of where it came from, so credit goes to someone else. You're right,
Joe, commenting something as opaque as this (at least at first glance) is
advisable, especially when you're sharing code. I can only ple
On Feb 18, 2012, at 10:57 AM, Michael Doub wrote:
> ...
>
> on mouseUp
> put URL "http://dl.dropbox.com/u/43797494/LiveCode/LoadLinks"; into list
> repeat for each line x in list
> delete the last char of x
> put x into StacktoLoad
> exit repeat
> end repeat
> go URL Stackt
Well, there's something wrong with the K solution and the Paul solution.
Stepping through the script with the debugger, for the first line of tStore,
the difference between tEndTime and tStartTime = 7974 (I inserted a temp
variable tTemp = tEndTime - tStartTime so I could see what was going on).
od i > 0),"true,false") of (i,0)
> end roundUp
>
> On Fri, Feb 17, 2012 at 1:49 PM, Peter M. Brigham, MD wrote:
>
>> function roundUp x
>> return trunc(x) + char itemoffset((x mod 1 > 0),"true,false") of "10"
>> end roundUp
Sw
On Feb 17, 2012, at 12:20 PM, Geoff Canyon Rev wrote:
> function roundUp x,i -- rounds x up to the next i
> return ((x - .1) div i + 1) * i
> end roundUp
Works except for values like 4.1.
Try this instead. It's a sort of a trick to avoid using a conditional
construction, though th
On Feb 16, 2012, at 10:49 AM, Timothy Bleiler wrote:
> Hi,
> If I type Put 1<=1 AND 1<=8 into the message box I get true, but if
> If I type Put 1<=1<=8 into the message box I get false.
>
> Am I missing something or is the second form not allowed?
The second form is not a kosher LC statement.
Second prize is *two* trips to Philadelphia
-- Peter
Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig
On Feb 16, 2012, at 10:09 AM, Tiemo Hollmann TB wrote:
> Oh no, not again this soon :(
>
>
>> Betreff: Mac OS X 10.8!
>>
>> Hi friends,
>>
>> just in case you did not k
On Feb 15, 2012, at 11:30 AM, Joe Lewis Wilkins wrote:
> Hopefully, RR is monitoring these threads and will also learn more things
> they need to improve.
The live code team will generally only respond to bug/enhancement postings to
the Quality Control Center. They have to prioritize their effo
On Feb 11, 2012, at 11:31 PM, J. Landman Gay wrote:
> On 2/11/12 10:02 PM, Peter M. Brigham, MD wrote:
>
>> Ken, I don't see v. 2.3 there, actually the 2 download links are for
>> 2.1.1, ostensibly. (I don't know how I got 2.2)
>
> Try a page refresh, may
On Feb 12, 2012, at 6:10 AM, Francis Nugent Dixon wrote:
> "Windows is just a series of panes"
A "pane in the OS"?
(Sorry, I don't want to start a platform flame war, but I just couldn't help
myself...)
-- Peter
Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig
__
On Feb 11, 2012, at 3:09 PM, Ken Ray wrote:
> Mark, I just realized that I hadn't uploaded 2.3 to the STS web site, so
> Peter couldn't download it. I have jus remedied the situation - anyone who is
> having trouble with RevZilla, feel free to download 2.3 from:
>
> http://www.sonsothunder.com/
On Feb 11, 2012, at 3:09 PM, Ken Ray wrote:
>
> On Feb 11, 2012, at 11:35 AM, Mark Wieder wrote:
>
>> Peter-
>>
>> Saturday, February 11, 2012, 7:01:10 AM, you wrote:
>>
>>> I have been using Ken Ray's Revzilla plugin for years but in the
>>> past year or so it has been broken for me. It looks
On Feb 11, 2012, at 12:35 PM, Mark Wieder wrote:
> Peter-
>
> Saturday, February 11, 2012, 7:01:10 AM, you wrote:
>
>> I have been using Ken Ray's Revzilla plugin for years but in the
>> past year or so it has been broken for me. It looks from the
>> SonsOfThunder website that it hasn't been upd
On Feb 10, 2012, at 4:35 PM, Mark Wieder wrote:
> haha...
>
> ever tried a Google search for recursion?
Circular definition: see Definition, circular.
-- Peter
Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig
___
use-livecode maili
1 - 100 of 203 matches
Mail list logo