473,387 Members | 1,592 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

[ReservedWord]

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

--
http://www.standards.com/; See Howard Kaikow's web site.
Nov 20 '05 #1
4 1115
Howard,
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.:


2.2 Identifiers
http://msdn.microsoft.com/library/en...fVBSpec2_2.asp

Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/
Please reply only to the newsgroup.
Nov 20 '05 #2
"Howard Kaikow" <ka****@standards.com> schrieb
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...amesincode.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.

--
Armin

Nov 20 '05 #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" <az*******@freenet.de> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
"Howard Kaikow" <ka****@standards.com> schrieb
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...amesincode.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.

--
Armin

Nov 20 '05 #4
Hello,

"Armin Zingler" <az*******@freenet.de> schrieb:
Taken from Herfried's post: ;-)

http://msdn.microsoft.com/library/en...amesincode.asp

Thanks for referencing me.

:-)

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: mark.green | last post by:
Hi folks, I've been trying to write a PLY parser and have run into a bit of bother. At the moment, I have a RESERVEDWORD token which matches all reserved words and then alters the token type...
17
by: Matt Kruse | last post by:
Perl's map() function is a powerful shortcut to accomplish many "loop over an array and do X" operations. Below is a quick hack to simulate similar functionality. I've used it a few times and find...
15
by: MartinRinehart | last post by:
The FAQ shows a mod to String.prototype adding trim, trimRight and trimLeft. Flanagan states, "There is a strong argument against extending built- in types with your own methods; if you do so,...
13
by: PhpCool | last post by:
Hi, since sometime I'm stuck in a problem where I want to check or uncheck all the checkboxes. If I'm choosing name for the checkbox array as 'chkbx_ary' then I'm able to check/uncheck all the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.