STATEMENT: DIM
DIM
The DIM statement allows you to explicity declare new variables and to allocate storage space (memory).
Code:
<% DIM myvariable = 123.456 %>
You can also declare variables in VBScript without using DIM.
Code:
<% myvariable = 123.456 %>
You can use DIM to declare several variables at the same time.
Code:
<% DIM myarray() frog = "Kermit" twopi = 6.28 bigarray(9999) %>
Copyright 1999 by Infinite Software Solutions, Inc.
Trademark Information