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: Enterprise
Expertise: All
Sep 23, 1999

Explicitly Declare Your Variables in Separate Lines

It is good practice to explicitly declare the variables in separate lines. For example, declaring all the variables in one line like, Dim a, aa, aaa As String, will declare aaa as a string variable but will declare a and aa as variants. The proper way to declare the variables might be:
 
Dim a As String
Dim aa As String
Jai Bardhan
 
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