|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Defining a function with optional Parameters
Im working in ASP - VBScript and I'm wondering how to define a function with an optional parameter. any ideas?
|
|
#2
|
||||
|
||||
|
Hi,
Do you want to pass a variable to a function? Is so like below: Code:
Call Test(thisismyfile) Function Test(file) End Function Kong. |
|
#3
|
|||
|
|||
|
VBScript doesn't support optional arguments like VB does.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > Defining a function with optional Parameters |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|