Please explain the purpose of the [] around the variable name and type decal. This code is legal and in a M.S. Example, but the help doesn't explain why it is this way. :confused:
Public Sub New([text] As [String])
Printable View
Please explain the purpose of the [] around the variable name and type decal. This code is legal and in a M.S. Example, but the help doesn't explain why it is this way. :confused:
Public Sub New([text] As [String])
the [] is to allow the use of keywords as function or variable names.
Public Sub [For](byval [Me] as string)
However, since you will have to use the [] everywhere, you might aswell come up with difference names.
Keyser Soze
Thanks, I thought maybe it was for something like that. However the only function it is used is a inherited one so I wanted to be sure.
Ben