[ReservedWord]

  • Thread starter Thread starter Mattias Sjögren
  • Start date Start date
Howard Kaikow said:
Where in the online Help or MSDN or ..., is it documented by
Microsoft tat a reserved word may be used as a variable name if
enclosed in brackets, e.g.:

Dim [Sub] as Long

[Sub] = 3


Taken from Herfried's post: ;-)

http://msdn.microsoft.com/library/en-us/vbcn7/html/vaconkeywordsascontrolnamesincode.asp



Taken from my post: ;-)
see also:
<F1>
Visual Studio.NET
Visual Basic and Visual C#
Reference
Visual Basic language
Visual Basic Language Tour
Features
Declared elements
Name of declared elements

Direct link (VS 2003):
ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB/vbcn7/html/vbconElementNames.htm

(see hints in signature)


--
Armin

- Links might be split into two lines. Concatenate them using notepad.
- Links might require to add a ".nnnn" after the "2003FEB", e.g.
"2003FEB.1033" for localized versions.
- Links starting with "ms-help" are URLs for the document explorer (<F1>).
Paste them in the URL textbox and press enter. Using internal help (menu
tools -> options -> environment -> help), display the "Web" toolbar that
contains the textbox.
- The tree representing the table of contents has been translated from
localized (German) version. Excuse slight deviations.
 
Where in the online Help or MSDN or ..., is it documented by Microsoft tat a
reserved word may be used as a variable name if enclosed in brackets, e.g.:

Dim [Sub] as Long

[Sub] = 3
 
Thanx for both responses.

I found spec in

ms-help://MS.VSCC/MS.MSDNVS/vbcn7/html/vaconKeywordsAsControlNamesInCode.htm

I had been searching for "reserved words", not "keywords".

--
http://www.standards.com/; See Howard Kaikow's web site.
Armin Zingler said:
Howard Kaikow said:
Where in the online Help or MSDN or ..., is it documented by
Microsoft tat a reserved word may be used as a variable name if
enclosed in brackets, e.g.:

Dim [Sub] as Long

[Sub] = 3


Taken from Herfried's post: ;-)

http://msdn.microsoft.com/library/en-us/vbcn7/html/vaconkeywordsascontrolnamesincode.asp



Taken from my post: ;-)
see also:
<F1>
Visual Studio.NET
Visual Basic and Visual C#
Reference
Visual Basic language
Visual Basic Language Tour
Features
Declared elements
Name of declared elements

Direct link (VS 2003):
ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB/vbcn7/html/vbconElementNames.htm

(see hints in signature)


--
Armin

- Links might be split into two lines. Concatenate them using notepad.
- Links might require to add a ".nnnn" after the "2003FEB", e.g.
"2003FEB.1033" for localized versions.
- Links starting with "ms-help" are URLs for the document explorer (<F1>).
Paste them in the URL textbox and press enter. Using internal help (menu
tools -> options -> environment -> help), display the "Web" toolbar that
contains the textbox.
- The tree representing the table of contents has been translated from
localized (German) version. Excuse slight deviations.
 
Back
Top