Difference between revisions of "Argument"

From Bennu Wiki
Jump to navigation Jump to search
m
 
(No difference)

Latest revision as of 03:29, 9 December 2009


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.

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

See also