View Single Post
Old Dec 18th, 2006, 12:57 PM   #5
sanscolour
Newbie
 
Join Date: Dec 2006
Posts: 1
Rep Power: 0 sanscolour is on a distinguished road
Quote:
Originally Posted by kyndig View Post
You cant do i++ in vb.
 
i = i + 1 
cnt = c + 1

or use a for loop

for cnt = 0 to 10
  for i = 0 to 10
     total = total + quiz(i)
  next i
next cnt
As a general point of interest, if any of you choose to move to the dark side (VB .Net), in 2005 the following

i = i + 1

can also be written as

i += 1
sanscolour is offline   Reply With Quote