We Exist to Provide 100% Free Source Code and Tutorials

Custom Search

15-For Loop

The For Loop repeats a group of statements in a specified number of times while a loop index counts the number of loop iterations as the loop performs.


This is the syntax in constructing a loop.

  1. For [counter variable] as [datatype] = [start #] to [end #]
  2. statements.....
  3. nex [counter variable]



  1. For i As Integer = 1 To 10
  2. i = +i
  3. MsgBox(i)
  4. Next i
Facebook Comments
(Visited 1 times, 1 visits today)
Share this

Check Your Domain Ranking

Updated: October 11, 2015 — 11:56 pm

Leave a Reply

Your email address will not be published. Required fields are marked * © 2016 Frontier Theme

Subscribe For Latest Updates

Signup for our newsletter and get notified when we publish new articles for free!

%d bloggers like this: