Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: Beginner
Jul 10, 1998

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 Integer

Function GetData() As Integer
	GetData = hidden_data * 2
End Function
Rod Stephens
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date