Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Optional arguments in ASP


Message #1 by "Shumaila" <sh_naeem@h...> on Wed, 14 Nov 2001 16:41:12
Hi, 



How could i declare a function with optional arguments. In VB i know i 

could do it like 



function abc(para1 as integer, Optional para2 as integer)

end function





but what should i write in the ASP funtion defination here to make it 

optional



Function abc( para1 , para2 )

end function 

Message #2 by "Andrew Haslett" <scooter@p...> on Thu, 15 Nov 2001 09:13:30 +1030
http://www.4guysfromrolla.com/webtech/071801-1.shtml



-----Original Message-----

From: Shumaila [mailto:sh_naeem@h...]

Sent: Wednesday, 14 November 2001 4:41 PM

To: ASP Web HowTo

Subject: [asp_web_howto] Optional arguments in ASP





Hi,



How could i declare a function with optional arguments. In VB i know i

could do it like



function abc(para1 as integer, Optional para2 as integer)

end function





but what should i write in the ASP funtion defination here to make it

optional



Function abc( para1 , para2 )

end function






$subst('Email.Unsub')






  Return to Index