Identifier may simply think that is the class name, variable and procedure names.
VBS In fact, there are two identifiers:
- Ordinary identifier (NORMALIDENTIFIER)
- Brackets identifier (BRACKETIDENTIFIER)
But I've seen on the VBS books talk about a common identifier, did not say in parenthesis identifier.
Rules common identifiers that we are already familiar:
- The first character must be a letter.
- Subsequent characters can be letters, numbers, and the underscore (_)
- Not be longer than 255 characters
- VBS is not reserved keyword
Rule identifiers in parentheses simpler:
- Any Unicode characters parenthesized (line feed, carriage return, and except NULL)
- Not be longer than 255 characters (which can be 0, not including brackets)
With brackets identifier, it can be done with any character variable names, including VBS reserved words
Dim [if], [nickname] [IF] = "the Hello World" [Nickname] = "Demon" WScript.Echo [IF] WScript.Echo [nickname]
This time to a variable or function name on it in Chinese, and looks relatively fast hardware.
Reproduced in: https: //www.cnblogs.com/alterhu/archive/2012/04/08/2438120.html