|CoverYourASP --> Snippets|
|"Snippets" are mini-articles - they allow me to very quickly add answers to your frequently asked questions, and add brief explanations for topics that you've searched for without success. So, everytime you send an email or perform a search, chances are a new snippet will be the result!|
Is there a limitation with VBScript?
Well, I’m a C/C++ programmer so JScript was the natural choice. The syntax is almost identical to C++. Plus I have this prejudice against anything BASIC – must be my upbringing. ;-)
Functionally, you can choose either. Below is a useful list that Marshall Burns sent me, or you can read my thoughts on Porting JScript to VBScript.
Provides for multi-line comments (with /* */), which VBscript does not.
Operators (eg, ==, !=) and string constants (eg, '\n', '\r') look like in C.
Provides shortcut assignments (e.g., a += 1), which VBscript does not.
Has classes, which VBscript does not. Note: the latest 5.0 VBScript engine does
The Kukreja reference says VBscript has a 1024-character limit on strings. But this must refer to an old version because the MS doc says the limit is about 2 billion characters.