Skip to content

Instantly share code, notes, and snippets.

@nicoxxxcox
Last active July 5, 2021 09:48
Show Gist options
  • Save nicoxxxcox/5c458747f2a7c94dc6f43fd411e8369e to your computer and use it in GitHub Desktop.
Save nicoxxxcox/5c458747f2a7c94dc6f43fd411e8369e to your computer and use it in GitHub Desktop.
Classic ASP print out array
' function qui affiche la cle => type(valeur) d'un tableau uni-dimentionnel
' ex : prArray(montableau)
' [0] => String(jean)
' [1] => String(louis)
' ...
function prArray(myArr)
dim key
key = 0
for each arrayitem in myArr
response.write "[" & key & "]" & " => " & typename(arrayitem) & "(" & arrayitem & ") " & "<br />"
key = key + 1
Next
end function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment