can you explain the difference between putting a string in the title verse lower in the code.
ex: Public Function IsUserInGroup(GroupID as Long) as Boolean
verse
ex: Public Function IsUserInGroup as Boolean
Dim GroupID as Long
- Will
Reply from Richard Rost:
The first example is when you're SENDING A PARAMETER VALUE to your function. Someone else is calling IsUserInGroup and telling them what GroupID to check.
The second example doesn't get any outside information. It DIMs a LOCAL VARIABLE that is only used inside the function.
Sorry, only students may add comments.
Click here for more
information on how you can set up an account.
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.