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 sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can you create a function parameter? 1

Status
Not open for further replies.

-cush-

Programmer
Feb 18, 2004
145
US
Is there a way to create a function with input parameters? I'm not talking about parameter fields. I'm talking about being able to call a user defined function from within another function, and send it parameters.

ie create a function called max(a,b) that would return a number of which ever parameter is bigger, a or b.
 
Thanks!

The max function was just an example, but now that I know how, I will be creating my own function library.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top