Home > lang > private 
 fr de es it nl pl pt pt_BR mk sq ca ar fa vi ja ru zh zh_TW eo
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.

Examples

' 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