|
|
|
|
|
| | |
|
Active Server Pages what is asp programming how to sample asp example code scripts software asp forum mail sessions applications global.asa CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Re: Please help with Arrays |
From: |
Tim |
Date: |
12/2/1999 8:20:27 AM |
IP: |
207.51.162.13 |
Bunch of different ways to do this. How about grabbing the first array:
1 Windows31
2 Windows95
3 Windows98
4 WindowsNT
5 Solaris
6 etc.
Then get your current value:
curval = "1,3,5," <-- add a comma to end
Then loop thru the first array and use the InStr() function to search the curval variable:
For Index = 1 To 6 <-- your array top here
If InStr(1, curval, CStr(Index) & ",") Then
you found a match
do something with it
Response.Write(FirstArray(Index) & "<br>")
End If
Next
|
Previous Message
Follow Up - Re: Please help with Arrays - Jeremy Weber 12/3/1999 9:21:48 AM
|
|
|
|
|
|
|
|
|
|
|
|