lingo-l Setting properties via a method's parameters

2004-03-23 Thread Mendelsohn, Michael
Hi list... What would be pros and cons of streamlining version #1 into version #2? Currently, version #1 appears in my parent script, where pCurrent is a property of that parent, and is itself a proplist, and the handler is only called once. Just seeking opinions. Thanks, Michael M. --

RE: lingo-l Setting properties via a method's parameters

2004-03-23 Thread Kerry Thompson
In version 2, you are restricting yourself to using the method within the object. In fact, I don't see any reason to have the pCurrent parameters. They're accessible within your object, if I understand yourself. You could just refer to them without having them as parameters, or needing to pass

RE: lingo-l Setting properties via a method's parameters

2004-03-23 Thread Mendelsohn, Michael
Good answer. Thanks, Kerry. - Michael M. In version 2, you are restricting yourself to using the method within the object. In fact, I don't see any reason to have the pCurrent parameters. They're accessible within your object, if I understand yourself. You could just refer to them without

Re: lingo-l Setting properties via a method's parameters

2004-03-23 Thread Irv Kalb
I just tried it, and I found that version #2 does not compile. I get a comma expected within the pCurrent.pModule part of the on mHandler line. If I think back real hard to my days of writing compilers, I can understand why this would be. Parameters that are declared on a handler line are

Re: lingo-l Setting properties via a method's parameters

2004-03-23 Thread Warren Ockrassa
On Mar 23, 2004, at 9:44 AM, Kerry Thompson wrote: In version 2, you are restricting yourself to using the method within the object. In fact, I don't see any reason to have the pCurrent parameters. They're accessible within your object, if I understand yourself. You could just refer to them

RE: lingo-l Setting properties via a method's parameters

2004-03-23 Thread Mendelsohn, Michael
Hope that made sense ... and I hope it is right :) Makes a lot of sense, Irv. It's a great explanation and it certainly sounds right. Thanks very much for your insight. - Michael M. [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi

lingo-l Launching a UNIX program on Mac OSX

2004-03-23 Thread Chris Rasmussen
We have a Director app that we want to use to launch a UNIX program under OSX using the BuddyAPI baRun program, but it doesn't seem to work. Can you give me any idea of what I'm doing wrong? Thanks in advance. Chris Rasmussen TheNewMediaGroup, Inc. Pittsburgh, PA [To remove yourself from

Re: lingo-l Launching a UNIX program on Mac OSX

2004-03-23 Thread Troy Rollins
On Mar 23, 2004, at 2:17 PM, Chris Rasmussen wrote: We have a Director app that we want to use to launch a UNIX program under OSX using the BuddyAPI baRun program, but it doesn't seem to work. Can you give me any idea of what I'm doing wrong? Not posting example code? -- Troy RPSystems, Ltd.

Re:lingo-l Cursor command not working: SOLVED...but wait, there's more!

2004-03-23 Thread John Aquilina
- Original Message - Buzz's intuition is correct: My mouseWithin handler mimics the a:hover class for CSS links on a web page. In other words, constantly on mouseWithin, when you are over the text, lingo tests if you are over a link, and if so, the link changes color and adds an

Re: lingo-l Setting properties via a method's parameters

2004-03-23 Thread Tab Julius
Irv, You are right - parameters are stack allocations; I've never seen anyone directly have a property as a parameter and pick them up directly. I suppose you could write a compiler to do so - but C and Lingo aren't written that way, afaik. If it does work in Lingo then someone went out of