An array of dynamic definitions in ASP

xiaoxiao2021-03-06  94

DIM array name () Redim [preserve] A number of group names () hypothesis the final value of 3

<% DIM A () DIM I for i = 0 to 3 Redim A (i) A (i) = i next ...%> If you want to keep the value of each element, use the following sentence;

Redim preserve a (i)

转载请注明原文地址:https://www.9cbs.com/read-100178.html

New Post(0)