[thelist] ASP arrays

Mark Aldrich MAldrich at cex.co.uk
Thu Jul 1 12:54:27 CDT 2004


Hi...im kinda stuck its the end of the day, and wondered if any of you kind
folk had any help for me

Im working in ASP 3.0 and just wondered how can i create an array with its
size that of a variable? it needs to be of 4 dimensions and hold 15
elements...

i.e :
dim SomeVariable 		'create my variable
SomeVariable = 16

dim SomeArray(SomeVariable -1, 4)	'create my array

but when i try it like this i get 'Expected integer constant' 
i tried creating a const variable but it still complains

many thanks


More information about the thelist mailing list