stickleprojects Level: Moderator

 Registered: 09-09-2002 Posts: 1036
|
Re: prefixing a variable
Ive only seen these as post-fix to the variable name:
$ means string
% means integer
@ has no meaning in Vb, but means literal in c# (for example, c# doesn't like "c:\myfile.txt" and you would have to write "c:\\myfile.txt", unless you prefxi with @ as in @"c:\myfile.txt")
they're only rarely used and are a throwback to VBversion 1 and the original BASIC language.
____________________________
Build it better, faster, quicker, easier.. then fix it (non-offical MS mission statement)
|