Hello,
I am a newbie and I need some help understanding some basic concepts.

If I had a loop structure that read:
For IntNumber=1 to 10
and I also had
For IntNumber 1 to 10 step 1
are these identical loop statements?

Suppose I had a for next loop like this:
for intB=1 to 7 Step 1
Print IntB
Next IntB

What would the value of IntB be when the loop stops? I think it would 
be 7 is that correct? Or is it 7 plus 1 to get 8.
---------------------------------------------------------------
I understand that the step counts by those numbers.
So if I had
for IntCount = 4 to 10 step 2
Print IntCount
next Intcount

the value of the numeric variable would be 12 when the loop stops.

4,8,10,12   and it would stop at 12 since this is higher than 10.

Can someone explain this to me a bit better, I am confused by all 
this. Does it increase at the end the amount of steps past the end 
value?

Jodi





------------------------ Yahoo! Groups Sponsor ---------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/k7folB/TM
---------------------------------------------------------------------~->


'// =======================================================
    Rules : http://ReliableAnswers.com/List/Rules.asp
    Home  : http://groups.yahoo.com/group/vbHelp/
    =======================================================
    Post  : [EMAIL PROTECTED]
    Join  : [EMAIL PROTECTED]
    Leave : [EMAIL PROTECTED]
'// =======================================================
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/vbhelp/

<*> To unsubscribe from this group, send an email to:
     [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 

Reply via email to