Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Optional Parameters

Status
Not open for further replies.

stillife

Civil/Environmental
Joined
Oct 10, 2006
Messages
6
Location
CA
Hi all,

I've got a quick question about function parameters. Is there a way to define a parameter as optional so that you don't get an error and then check to see if that parameter has been sent or not?

The only way I can see this working is using an array as parameter and sending values inside that array and checking the values inside.

Any help is greatly appreciated,

Still
 
At present no. This feature has been requested in the past, but another request could only help. You can email Mathsoft support with suggestions for improvements.

Peter
 
thanks for your answer. I'll follow that up.

Still
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top