|
-
Aug 13th, 2002, 12:29 PM
#1
Cander's VB .NET Tips conitinued :P
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
-
Aug 13th, 2002, 08:58 PM
#2
yay gay
then i am not using the same keyword...u can put [] with other non-type words too...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|