lang • 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.


' 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