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

What exactly is an "argument"?

Status
Not open for further replies.

AlanMcS

Programmer
Apr 13, 1999
2
US
Howdy - I am a junior programer and while I understand functions and variables, I DO NOT understand what is meant by arguments. Programming books speak of them as though they were everyday household objects that EVERYBODY just knows about, so why define them. Please, what is an argument, and what other parts of the code are interdependent of arguments?
 
an argument is the same as a parameter. When you call a function, the items passed inside the parens are arguments.
 
Thanks Nick; I didn't know it was as simple as that! Thanks again!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top