Basic HTML version of Foils prepared 4 May 97

Foil 19 Basic Elements of VBScript Language

From Introduction to ActiveX, with VBScript CPS616 -- Information Track of CPS -- Spring Semester 97. by Nancy J. McCracken


1 Built-in data types include: Empty, Null, Integer, Long, Single, Double, Date, String, Object, Error
2 You may declare data types for variables, or you may leave it to the system to infer a type (variant type): <script language="vbscript"> <!-- Qty = 162 ProductName = "Paper Clip" --> </script>
3 A global variable is declared with the keyword dim: dim space dim myArray(9) creates a 10 element array indexed from 0 to 9

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sat Apr 4 1998