Argument

From Bennu Wiki
Jump to navigation Jump to search


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