Protect Data Within Modules

Use Private variables in BAS modules to protect data that the module’s routines must access, but which should be hidden from the rest of the application:

 Dim hidden_data As IntegerFunction GetData() As Integer	GetData = hidden_data * 2End Function
Share the Post:
Share on facebook
Share on twitter
Share on linkedin


Recent Articles: