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

Parameter

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 14:03, 29 April 2007 (edit)
Sandman (Talk | contribs)
m
← Previous diff
Revision as of 10:47, 1 March 2008 (edit) (undo)
Sandman (Talk | contribs)
m
Next diff →
Line 1: Line 1:
== Definition == == Definition ==
-A parameter is the [[value]] inside the definition of a [[function]] or a [[process]] that is received from the [[call|calling]] environment. The value passed on when calling the function or process is called an [[argument]].+A parameter is the [[variable]] and its [[value]] inside the definition of a [[function]] or [[process]] that is received from the [[call|calling]] environment. The value passed on when calling the function or process is called an [[argument]].
== Example == == Example ==

Revision as of 10:47, 1 March 2008

Definition

A parameter is the variable and its value inside the definition of a function or process that is received from the calling environment. The value passed on when calling the function or process is called an argument.

Example

Private
    int argument = 3;
Begin
    my_proc( argument );
End
Process my_proc( int parameter )
Begin
    //statements
End
Personal tools