|
|
|
|
|
| | |
|
Active Server Pages ASP programs help tutorial tutorials routine routines jobs listserve mailinglist bulletin board bulletin boards programming snippet snippets CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Re: Arrays |
From: |
Tim Lasek |
Date: |
4/5/1999 3:13:56 PM |
IP: |
207.51.162.13 |
Here is a quick example that should help explain how it's done.
ReDim Arry(5)
Arry(1) = "element 1"
Arry(2) = ""
Arry(3) = "element 3"
Arry(4) = ""
Arry(5) = "element 5"
ElementCount = 0
For i = 1 To UBound(Arry)
If Arry(i) <> "" Then
ElementCount = ElementCount + 1
Arry(ElementCount) = Arry(i)
End If
Next
ReDim preserve Arry(ElementCount)
|
Previous Message
|
|
|
|
|
|
|
|
|
|
|
|