- This wiki is out of date, use the continuation of this wiki instead
Private variable
From FenixWiki
(Difference between revisions)
Revision as of 01:19, 18 June 2007
Definition
A private variable is a variable that is specific to a process or function. Unlike a public variable, it can only be accessed from the process or function it was declared for.
Example
Function int SomeFunction() Private int i,j; // declare private ints i and j String strtemp // declare privat string strtemp Begin // ... return 0; End
The private variables i and j could be variables used for counting and the string probably would have some use as well.