Array Question

Results 1 to 3 of 3

Thread: Array Question

  1. #1
    Join Date
    Dec 1969

    Default Array Question

    Why dose this not work with asp but the same idea works in c++<BR><BR>Const MYVAR = 25<BR>Dim aMyArray(MYVAR)<BR><BR>also is there an ASP equivilant to the c++ #define<BR>

  2. #2
    Mike Shaffer Guest

    Default RE: Array Question

    &nbsp;<BR><BR>dim aMyArray()<BR>const MYVAR = 25 <BR>reDim aMyArray(MYVAR)

  3. #3
    Ghose Guest

    Default RE: Array Question

    I think U have to use the redim statement:<BR><BR>Dim aMyArray()<BR>Const MYVAR = 25<BR>Redim aMyArray(MYVAR)<BR>...<BR><BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts