This wiki is out of date, use the continuation of this wiki instead

Argument

From FenixWiki

Revision as of 11:14, 9 August 2008 by Sandman (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

[edit] Definition

An argument is the value passed on when calling a function or process. The variable and its value inside the definition of a function or process is called a parameter.

[edit] Example

Function int my_proc( int parameter )
Begin
    //statements
    return 0;
End

Process Main()
Private
    int argument = 3;
Begin
    my_proc( argument );
    my_proc( 4);
End

Used in example: Function, Process

Personal tools