devxlogo

Protect Data Within Modules

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

devx-admin

Share the Post: