Matching array

Results 1 to 2 of 2

Thread: Matching array

  1. #1
    DarkCO Guest

    Default Matching array

    For Each objFile in objFolder.files<BR> if files = "" then<BR> files = objFile.path<BR> strtype = objFile.type<BR> else<BR> files = files & chr(8) & objFile.path<BR> strtype = strtype & chr(8) & objFile.type<BR> end if<BR> Next<BR>strtype = split(strtype, chr(8))<BR>files = split(files , chr(8))<BR><BR>i sort files() using the jscript sort in one of the ASPFaq&#039;s, but i want the strtype array to be sorted to match up with the file correctly, any idea&#039;s on how i would accomplish this?

  2. #2
    Join Date
    Dec 1969

    Default You missed the *other* ASPFAQ...<BR><BR>The JS solution is fine for one-dimensional arrays, but it kind of falls down when things get more complex.<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