Cander
Aug 13th, 2002, 12:29 PM
Here is one for you. Suppose for some reason you need to use a reserved VB/.NET keyword or function name as a variable name. For isntance
Dim String As Integer
That will normally bring up a compile error. But lets say for some reason you need to use String as a variable name. How do you do it?
Use brackets
Dim [String] As Integer
and every time you need to access it, make sure you do so with the brackets
[String] = 50
Dim String As Integer
That will normally bring up a compile error. But lets say for some reason you need to use String as a variable name. How do you do it?
Use brackets
Dim [String] As Integer
and every time you need to access it, make sure you do so with the brackets
[String] = 50