If you are just learning this stuff I'd like to point
out that Constants are replaced with their value
during compilation so declaring them within a function
is not the best style.

Option Explicit

Private Const mRABIES_COST As Single = 12
Private Const mSPAY_COST As Single = 63
Private Const mNAIL_COST As Single = 2

Further the Microsoft Standard suggests using all Caps
for Constants.  The m prefix simply denotes its a
module level constant as opposed to a global level
constant.

Oh and I strongly suggest if you are going to be doing
any program in this language or any of its
counterparts that you begin using ErrorHandlers dang
near religiously.  The amount of time and effort that
they can save on a project can be a project saver (and
in some cases a job or contract saver).

Oh and as always good luck and good programming.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AccessVBACentral/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to