Thursday, January 3, 2019


Dynamic Arrays in VBScript example

In Vb script we can define the dynamic array in vb script as mentioned below.
Size of dynamic array changes at run time. 

Example -
Dim a () - declared dynamic array a

To use dynamic array, you must use redim statement.
ReDim a(22)
 . . . 
ReDim Preserve a(44)   ' Preserve statement preserves the elements in array
 



0 comments:

Post a Comment

Blog Archive

Translate

Popular Posts

Total Pageviews

Blog Archive