Thomas-

Thursday, March 31, 2005, 12:16:35 PM, you wrote:

TMI> This is my experience too. I use globals when I am passing info from
TMI> one action to another but I use CPs when an object is involved in the
TMI> action.

Wherever possible I pass parameters as arguments to functions in order
to eliminate having to use global variables. I tend to use custom
properties only for persistent data (you'd want to use a global var
rather than a custom property for a password, for example). I use
globals sparingly for things that get unwieldly as parameters or can't
be managed otherwise, or at least without a lot of extra work.

There's no particularly right way to do this, mostly it's just a
matter of style.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

_______________________________________________
use-revolution mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to