[AccessD] Global Variable

DWUTKA at marlow.com DWUTKA at marlow.com
Tue May 17 10:28:37 CDT 2005


LOL.  I get the same imagery when the phrase 'The can be changed without you
knowing it...'.  Huh?  The only possible explanation for that, in my case,
would be a total lack of coffee for several days, followed by deep
hypnotism.

Drew

-----Original Message-----
From: Gustav Brock [mailto:Gustav at cactus.dk]
Sent: Tuesday, May 17, 2005 5:30 AM
To: accessd at databaseadvisors.com
Subject: RE: [AccessD] Global Variable


Hi John

Well, here we have full control on where functions put their nasty
fingers.

I haven't managed yet to build self generating code; to some this would
indicate a brave new world, to some it would be a nightmare - functions
creeping around and attacking our globals and eating our children...
gosh. But worse, they would soon learn how to take advantage of your
functions to change those "private variables"! Be prepared.

/gustav

>>> jwcolby at colbyconsulting.com 05/16 10:58 pm >>>

..  Making this a global allows functions
that have no business setting these variables to change them.  By
having a
private variable returned by a public function, any function that needs
the
information can get it but cannot modify it.

-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com



More information about the AccessD mailing list