Arguments and Parameters - the same thing!

This forum is meant for people to share their knowledge by writing their own tutorials for Adventure Maker.

Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support

Arguments and Parameters - the same thing!

Postby Chromegloss55 » Mon May 19, 2008 2:17 pm

I just thought I'd mention this because when I started scripting all those years ago, this one really confused me:

If you have a function such as this:

Code: Select all
Function NameOfFunction (Argument 1, Argument 2, Argument 3)


When you PASS the information to the function, they are called PARAMETERS. So to call a function you type:

Code: Select all
NameOfFunction (Parameter 1, Parameter 2, Parameter 3)


When the function RECEIVES the information, for some strange reason, they are now magically called ARGUMENTS.

Just thought I'd note it here as it really confuses people...

(I personally think it's pretty stupid, but what can ya do?)
_________________
recipes forums
Chromegloss55
Forum Master
 
Posts: 630
Joined: Sat Nov 03, 2007 2:49 pm
Location: God Knows!

Return to Post Your Own Tutorials

Who is online

Users browsing this forum: No registered users and 2 guests

cron