Is there ways to create optional arguments to functions in vbscript?

后端 未结 5 1278
名媛妹妹
名媛妹妹 2020-12-17 08:14

Is there ways to create optional arguments to functions in vb script allowing you to write functions something like...

myFunc(\"happy\")
myFunc(\"happy\", 1,         


        
5条回答
  •  心在旅途
    2020-12-17 09:03

    The optional keyword (like in VB6) is not allowed in vbscript

    maybe this helps: http://www.4guysfromrolla.com/webtech/071801-1.shtml

提交回复
热议问题