First: dim a() ''to define an array (size unspecified)
Later in code: redim a(nn) ''where nn is variable =3D upper bound of
Use: redim Preserve a(nn+1) to increase size of array while preserving
current contents of dynamic array. If you don't say Preserve, all
contents are lost.
From: Dyrnes, Jan Arve [mailto:jan.arve.dyrnes@f...]
Sent: Wednesday, September 06, 2000 5:40 AM
To: Code Clinic
Subject: [proasp_codeclinic] Array
I'm working on a stupid array thing and just can't remeber the syntax.
Please do help..
Here's some of the some code:
a =3D Request.QueryString.Count
This isn't alowed, the following error is beeing desplayed:
Expected integer constant
/sp=F8rreunders=F8kelse/database_insert.asp, line 13
I no this is a silly quistion but i'm traing anny way, sorry about my
english but as a Norvegian I'm not that good spelling the words right.
Jan Arve Dyrnes