Welcome to the Dictionary of Programming Languages, a compendium
of computer coding methods assembled to provide information and
aid your appreciation for computer science history.
Browse the dictionary by clicking on a section:
Get a full dump of the dictionary:
List of Names
- Language type:
Visual Basic Scripting Edition is a
subset dialect of Visual Basic; it is
an interpreted, procedural language intended
for creating application extension scripts
and for adding interactivity to web pages.
VBScript's syntax resembles that of
Visual Basic: statements are bounded by
end-of-line, and normal Basic keywords
are used for control structures and
code modularity. VBScript supports a
modest set of data types: various numeric
types, strings, dates, booleans, arrays, and
object references. Variables in VBScript
are typed, but the interpreter does not
do strong type enforcement. VBScript
supports subroutines and functions, and
can interact with objects provided by its
environment (usually a scriptable application).
VBScript does not support the definition of
new object classes, nor does it support
overloading or polymorphism. The language
has fairly good support for handling time, dates,
The newest version of VBScript also supports
a dictionary object, an associative array
for storing string data.
VBScript is most commonly employed in
web browsers and web servers from Microsoft.
Under the 32-bit Windows environment, any
application can employ VBScript if it
is installed; Microsoft intends VBScript
to be the baseline or typical scripting
language for simple OLE applications.
The first release of VBScript was part of
Microsoft's Internet Explorer 3.0 product; in
1997 they released VBScript 2.0.
Good information about VBScript, including
a hyperlinked reference manual, in available
from Microsoft's web site. Many good books
about it are also available.
Microsoft Corporation, 1995 ?
- See Also:
In the web browser niche, VBScript
competitors. They are comparable
in terms of functionality, although
more powerful programming language.
In web browsers, VBScript is often
employed to validate HTML form data and
to make forms more responsive. It
can also be used, in web browsers and
elsewhere, to configure and manipulate
VBScript has not language-defined
I/O facilities; any I/O that it supports
must be provided by object classes
supplied from the controlling application
environment. In a web browser client,
these objects are not available, but in a
web server environment they are.
- Sample code:
An example of using VBScript to check
isSSN = False
If (len(ssns) = 9 or len(ssns) = 11) Then
isSSN = True
dim namestr, ssnstr, psw, req
set form = document.form1
namestr = Trim(form.NameStrField.Value)
ssnstr = Trim(form.SSNStrField.Value)
If (len(namestr) = 0) Then
msgbox "Name is empty, please type in your name"
ElseIf (not isSSN(ssnstr)) Then
msgbox "SSN field is not the right length, please fix it"
psw = InputBox("Enter your password:","Form Password","")
req = "http://test.org/cgi/start.cgi?ssn=" &
ssnstr & "&passwd=" psw
loc.href = req
Descriptions in this dictionary are ©1997-99 Neal Ziring. Some
examples copyright of their respective authors. Some
technologies and languages are trademarked. Permission to
copy descriptions is granted as long as authorship credit is preserved.
Comments on this dictionary, corrections and suggestions, are all welcome.
Please use email, the address is firstname.lastname@example.org
[Ziring MicroWeb Home]
Dictionary and script maintained by Neal Ziring, last major modifications 3/18/98. Most recent
additions to dictionary and master list, 1/00.