Home > lang > private 
 en fr de es it nl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Search  Administration  
Documentation  
Warning! This page is not translated.  See english version 
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