Jodi, have you tried out any of these things for yourself? It's pretty easy code to type up and compare the results.
---- Don Roberts http://tv.groups.yahoo.com/group/seinfeldpreservationsociety/ http://groups.yahoo.com/group/windows-tips/ Please reply to the list and not to me personally. **-----Original Message----- **From: jodidee2004 [mailto:[EMAIL PROTECTED] **Sent: Saturday, May 22, 2004 7:51 PM **To: [EMAIL PROTECTED] **Subject: [vbhelp] Newbie needing help in loops ** **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 ** ** ** ** ** ** ** ------------------------ Yahoo! Groups Sponsor ---------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/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/
