[AccessD] Naming Convention (was Days Past Due - Grace Period )

Drew Wutka DWUTKA at marlow.com
Wed Sep 10 13:18:07 CDT 2003


Do you write ASP pages?  If so, do you prefix all of your variables with
var?

Drew

-----Original Message-----
From: Don Elliker [mailto:delliker at hotmail.com]
Sent: Wednesday, September 10, 2003 9:20 AM
To: accessd at databaseadvisors.com
Subject: RE: [AccessD] Naming Convention (was Days Past Due - Grace
Period) 


I don't get it...how do you ever know what the datatype is?? How do you know

when an 'str' is really a string and when it will accept a form reference. 
How about overflows? If you follow that logic, what looks like a long, may 
be an integer.
I suppose you can do whatever you want, but if the logic is "I may need to 
have something else here but I want a string"...then why not (as I believe 
William suggested) make them all variant and leave off the datatype 
'convention' (not).
_d



"Things are only free to the extent that you don't pay for them".-Don 
Elliker





>From: Drew Wutka <DWUTKA at marlow.com>
>Reply-To: Access Developers discussion and problem 
>solving<accessd at databaseadvisors.com>
>To: "'Access Developers discussion and problem solving'" 
><accessd at databaseadvisors.com>
>Subject: RE: [AccessD] Days Past Due - Grace Period
>Date: Tue, 9 Sep 2003 16:33:06 -0500
>
>I don't think I have every prefixed a Variant as var, yet.  My logic in my
>statement is I want a string, so I prefixed it as a string, but it may need
>to be a variant, so it's declared as a variant.
>
>Drew
>
>-----Original Message-----
>From: Gustav Brock [mailto:gustav at cactus.dk]
>Sent: Tuesday, September 09, 2003 3:24 AM
>To: Access Developers discussion and problem solving
>Subject: Re: [AccessD] Days Past Due - Grace Period
>
>
>Hi Drew
>
> > .. I left the strStatus argument as a variant, in case it is ever
> > passed a null
>
>Then you should have renamed it varStatus ...
>
>/gustav
>
>_______________________________________________
>AccessD mailing list
>AccessD at databaseadvisors.com
>http://databaseadvisors.com/mailman/listinfo/accessd
>Website: http://www.databaseadvisors.com
>_______________________________________________
>AccessD mailing list
>AccessD at databaseadvisors.com
>http://databaseadvisors.com/mailman/listinfo/accessd
>Website: http://www.databaseadvisors.com

_________________________________________________________________
Use custom emotions -- try MSN Messenger 6.0! 
http://www.msnmessenger-download.com/tracking/reach_emoticon

_______________________________________________
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