I'm trying to use an if...then statement within a for...next loop to check
at the outset whether or not a particular value is 0 or not. If it is 0
(zero), then I want to just exit the if...then statement which will, in theory,
go right to the 'next' part of the for...next loop and increment the counter.

Basically, how do I exit an if...then statement like:

FOR i = 1 TO somenumber
quantity = request.form("quantity")
IF quantity = 0 THEN
'exit the if...then statement
ELSE
'execute some code
END IF
NEXT