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
Nov 22, 1999

Variant Naming Specification

Question:
I know a recordset object should be named rstName, but don't know all about variant naming specifications. I looked for it on MSDN for a long time, but couldn't find it.

Answer:
A common prefix is vnt, but I tend to not use that. When I'm using Variants in VB, it's often to hold date/time values, so in that case, I'll prefix the variable with dat. The specific prefix really isn't that important as long as you're consistent in your naming.

DevX Pro
 
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