main logo
Subject: Re: AutoYield Property
Author: Ed Leafe
Posted: 2003/02/28 21:44:00
 
View Entire Thread
New Search


On Friday, February 28, 2003, at 09:34 PM, Sal wrote:

> ps does everyone other than me use a global application variable? Is
> that
> how Mere Mortals, CodeMine etc work? I really don't like global
> variables or
> assuming an application object exists.. and am happy to pass a
> reference to
> the application variable around where necessary.

Actually, if the application object is declared in the startup
program, it can be scoped to Private. But in essence, it is a global
reference, in that any object in any context can reference it.

I like having this one global reference simply so that I can simplify
inter-object messaging. If objects need to send a message to each
other, there are only three intermediaries I use: This.Parent,
Thisform, and goApp.

___/
/
__/
/
____/
Ed Leafe
http://leafe.com/
http://opentech.leafe.com




 
©2003 Ed Leafe
<-- Prior Message New Search Next Message -->