- This wiki is out of date, use the continuation of this wiki instead
Parameter
From FenixWiki
(Difference between revisions)
| Revision as of 10:40, 23 March 2007 (edit) FCR (Talk | contribs) ← Previous diff |
Current revision (10:33, 17 May 2008) (edit) (undo) 85.144.194.29 (Talk) (Note about parameter limit of 15) |
||
| (5 intermediate revisions not shown.) | |||
| Line 1: | Line 1: | ||
| - | + | == Definition == | |
| - | + | 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]]. | |
| - | + | == Notes == | |
| - | process | + | There currently is a limit of 15 parameters that can be used per function or process. |
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | == Example == | |
| - | + | <pre> | |
| - | + | Private | |
| - | + | int argument = 3; | |
| + | Begin | ||
| + | my_proc( argument ); | ||
| + | End | ||
| + | Process my_proc( int parameter ) | ||
| + | Begin | ||
| + | //statements | ||
| + | End | ||
| </pre> | </pre> | ||
| + | |||
| + | [[Category:General]] | ||
Current revision
[edit] 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.
[edit] Notes
There currently is a limit of 15 parameters that can be used per function or process.
[edit] Example
Private
int argument = 3;
Begin
my_proc( argument );
End
Process my_proc( int parameter )
Begin
//statements
End
