PDA

View Full Version : optional parameters in SUB


ShMiL
12-09-2005, 12:40 PM
I created sub and I have two optional parameters.
when i leave it blank, like that:
sub ("lala",,,0)
it's says "Type mismatch".
Is there another way except for:
sub ("lala","","",0)

?

Brandoe85
12-09-2005, 03:28 PM
Hi,

Take a look at this article:
Optional Arguments (http://www.4guysfromrolla.com/webtech/071801-1.shtml) as it should give you some good ideas.

Good luck;

ShMiL
12-09-2005, 03:51 PM
ok
thanks man :thumbsup: