ASP - COMO SE DECLARA Y SE USA UN ARRAY

 
Vista:

COMO SE DECLARA Y SE USA UN ARRAY

Publicado por Carlos (55 intervenciones) el 06/09/2001 22:37:12
HOLA, ALGUIEN ME PUEDE DECIR LA SINTAXIS PARA DECLARAR Y ASIGNAR VALORES A UN ARREGLO ASI COMO PARA RECORRERLO,GRACIAS.
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:COMO SE DECLARA Y SE USA UN ARRAY

Publicado por Guy (203 intervenciones) el 07/09/2001 18:16:37
Declaracion:
<%
dim variable()
redim variable(nIndice) ' nIndice es un entero %>

Para usarlo:
<%
for i = 1 to nIndice
variable(i) = i
next %>

Saludos...
Guy.-
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar