Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
For each
Message
 
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00403452
Message ID:
00403709
Vues:
12
>Don't kill me if I am wrong but I believe it would be...
>
>

>Dim myElement
>
>For Each myElement In myArray
>    Debug.Print myElement
>Next
>

>

>Yea, that looks correct.

' ** Okay, I'm confused
'if i use the following code now:
Dim aMyArray()
For i = 0 To UBound(aMyArray)
debug.print aMyArray(i)
Next i


How would I use your example?


For Each ?? In aMyArray
Debug.Print ??
Next



Thanks for your patience,
~Joe Johnston USA

"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform