![]() |
![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Programming Constructs VBScript allows you to control how your scripts process data through the use of conditional and looping statements. By using conditional statements you can develop scripts that evaluate data and use criteria to determine what tasks to perform. Looping statements allow you to repetitively execute lines of a script. Each offers benefits to the script developer in the process of creating more complex and functional web pages. In VBScript, for numerical data types, the standard arithmetic operators ( + - / * ) apply. However, the string concatenation varies between the JavaScript string type, and the VBScript string type. Under JavaScript, strings can be concatenated by using the + operator; strings are concatenated under VBScript with the & operator. VBScript provides a wide variety of functions which can be applied to the various objects and data types within the language, whereas JavaScript provides methods that operate directly upon the objects and data types, as well as properties that are member variables. While the mechanism for calling these functions in VBScript and for calling the member functions under JavaScript differ, for the most part, they are equivalent in functionality.
|
|
|
|
Added to the Web: May 26, 2000. Web page design by Dan Solarek. |
![]() http://cset.sp.utoledo.edu/cset3250/ |