>
lang
>
private
Previous
Next
Edit
Rename
Undo
Refresh
Search
Administration
Documentation
History
PRIVATE
This keyword declares the accessibility of a private
method
,
variable
or
property
.
A private variable, method or property cannot be used outside of the
class
code.
Example
' Gambas class file
PRIVATE $hConn AS Connection ' only code inside this class can access $hConn
PUBLIC SUB btnConnect_Click()
DIM sName AS String
...
See also
Variable Declaration
Method Declaration