But that's just semantics that doesn't help the beginners
;D
Quite...
I'm about to get confused myself... ;D
An argument is something that command requires in order to make it work
To be pedantic (and more confusing): there's no such thing as a command
They are either functions like
getIn or
saveGame or operators like =, ==, AND, OR...
But still, macgubas explanation has some points:
[loon1, loon2] join grpA
The join command has two arguments: the array of units, and the group they will join.
True...
The
[loon1,loon2] join grpA is an command line argument...
The
join is a function that needs two arguments, the array of parameters (elements) and a variable (group)...
So we all have been kind of right in our posts
(more or less
)
an argument can be a variable (object, unit, integer, string...) or an array of parameters (variables, strings, integers, booleans...)...
Or an array of array(s) of parameters...
Or even array(s) of parameters and arguments...
example:
_var = 3
the operator = needs two arguments, the
_var and the value 3...
typeOf player == "SoldierWB"
the function typeOf needs one argument to work, a variable (in this case player)
the operator == needs two arguments to work, a variable (in this case returned by the typeOf function, a string) and a value (in this case a string)...
I left out the ? from that example because otherwise this explanation would not end... ever...
this addeventHandler ["fired",{if (_this select 2 != "throw") then {[(nearestObject [_this select 0, _this select 4]),_this select 0,_this select 1,_this select 3] call htr_dispFire}}]
here are arrays of arguments and variables passed into a function as an argument... Inside an argument
this addEventHandler [stuff] is an command line argument...
So yes, the argument is something that a function (command in OFP...) needs in order to work, but the argument(s) can be almost anything...
It depends on the function...
And the answer to the original question:
Don't use the word argument ;D
It's irrelevant as a program is a pile of arguments arguing and then coming to some conclusion(s)... (hugely simplified...)
If I have been talking holes in my head for the whole of this post, I will move to Botswana and start farming Carbalach tomatoes... :-X :beat: :tomato: