|
-
Sep 30th, 2002, 11:21 AM
#6
Addicted Member
Originally posted by Cander
what you want to do is creat to subs/function of the same name..but differnt parameters...the program will know which one to run
public sub login(name as string, username as string, password as string)
public sub login(username as string, password as string)
Don't forget to use the Overloads keyword. 
Public Overloads Sub login(name as string, username as string, password as string)
Public Overloads Sub login(username as string, password as string)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|