For Each loop

vinians

Member
Licensed User
Longtime User
Guys I'm trying to find where is the documentation about "For Each" loop but I haven't found. Where is it ? Would be good if we had a documentation in chm format because it's easer to found what we want.
 
Maybe this sample can help:
Code:
Dim Days() As String
            
Days = Array As String("Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday")

For Each I As String In Days
            
    Msgbox("Day " & I, "")
            
Next

The above code will show the days of the week one by one.

Read a little bit more HERE
 
Last edited:
Upvote 0
Is this not right?

Code:
        ContactList.FindByName("Yasmin", False)
   For Each contact1 As Contact In ContactList
      Log(contact1)
   Next
 
Upvote 0
Back
Top