|
-
May 10th, 2002, 12:52 PM
#1
Senior Member
VB: Variables/Parameters
in the parameters in a function/sub how do you make a variable optional?
eg.
public sub XYZ (variable1 as integer)
end sub
how would you mae variable 1 optional?
-
May 10th, 2002, 01:25 PM
#2
As far as I am aware, just don't pass the variables to the sub when you call it. So long as you don't use this variable within it, there shouldn't be any problems.
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
|
|