■ FOR ~ TO ~ STEP ~ EXIT FOR ~ NEXT문 사용하기

----------------------------------------------------------------------------------------------------

Dim I As Integer

 

For I = 1 To 10 Step 1

 

    Print I

 

    If I = 5 Then

 

        Exit For

 

    End If

 

Next I

----------------------------------------------------------------------------------------------------

Posted by 사용자 icodebroker
TAG