A very small query
-
Dear All, Is # a keyword in VB. If it is then wot is its significance? ____________________________________________________________ rishabhs I think therefore I am.
-
Dear All, Is # a keyword in VB. If it is then wot is its significance? ____________________________________________________________ rishabhs I think therefore I am.
Tends to be used (in VB6 at least) in the following:
Open "C:\SomeFile" for Input as #1
May be other uses, but not seen them myself... "Now I guess I'll sit back and watch people misinterpret what I just said......" Christian Graus At The Soapbox -
Dear All, Is # a keyword in VB. If it is then wot is its significance? ____________________________________________________________ rishabhs I think therefore I am.
Yes, you could call it a reserved word. The '#' character has the following uses: As a Double type specifier. These two statements are identical:
Dim myDbl As Double Dim myDbl#
and this will denote the number should be treated as a Double:
myDbl = 123.45#
As the prefix to a compiler directive:
#Const Version = "1.0" #Region "This is a Region directive" #EndRegion
RageInTheMachine9532