ll wrote:
> Hi,
> I'm wondering about variable declaration in ASP - is there a good
> resource for this?
I can see why you had trouble finding one, given that you were treating
ASP as a language rather than what it really is: a "platform" which
supports several scripting languages, including vbscript. I'm sure if
you knew you had to find a vbscript reference you would have found this
http://msdn.microsoft.com/en-us/libr...h6(VS.85).aspx
or this:
http://www.microsoft.com/downloads/d...DisplayLang=en
> In naming variables, is there a way to include
> characters in a variable name after the parenthesis/variable in a
> loop?
After the parentheses? No. I'm not sure there is a language where this
is allowed. Certainly not VB, VBA or vbscript. With vbscript, the
parentheses contain, when declaring the array, the maximum index value
to be stored in the array, and when referring to an item within the
array, the index of the item.
Have a look in the documentation about declaring and using arrays in
vbscript.
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.