Variables

1.5 Variables

VB does not require that variables be declared before they are used unless OptionExplicit is On (its default value). In that case, you can declare variables using the Dim, Public, Private, Protected, Friend, or ProtectedFriend statements.

A variable name in VB must satisfy the following requirements:

         It must be 16,383 or fewer characters in length.

         It must begin with an alphabetic character or an underscore.

         It cannot include embedded spaces.

         It cannot contain any special (i.e., non-alphabetic, non-numeric) character other than an underscore.

         It must be unique within its scope.

 



VB. NET Language Pocket Reference
VB.NET Language Pocket Reference
ISBN: 0596004281
EAN: 2147483647
Year: 2002
Pages: 31

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net