Results 1 to 4 of 4

Thread: How Do I Implement A For Loop?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2000
    Location
    Belfast
    Posts
    109

    How Do I Implement A For Loop?

    A very basic question. Can someone please give me a basic example of a for loop. Thanks in advance

  2. #2
    Fanatic Member carlblanchard's Avatar
    Join Date
    Sep 2003
    Location
    Bournemouth (UK)
    Posts
    539
    for i = 1 to 30
    MsgBox("Loop" & i)
    next

    i is the count of the loop, and 30 means it will loop 30 times.
    I am curretly building a defect management system for software and web developers,
    If you wana try it out (beta test) and keep it for free just send me a message

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Sep 2000
    Location
    Belfast
    Posts
    109
    cheers, my retarded universty tried telling me it was

    For i=1, 5

  4. #4
    Fanatic Member carlblanchard's Avatar
    Join Date
    Sep 2003
    Location
    Bournemouth (UK)
    Posts
    539
    yeah that just results in a syntax error
    I am curretly building a defect management system for software and web developers,
    If you wana try it out (beta test) and keep it for free just send me a message

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width