Last active
July 5, 2021 09:48
-
-
Save nicoxxxcox/5c458747f2a7c94dc6f43fd411e8369e to your computer and use it in GitHub Desktop.
Classic ASP print out array
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
' 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