Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock 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
Oct 10, 2006
6
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
 
Replies continue below

Recommended for you

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