home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.pascal.borland      Borland Pascal was actually pretty neat      2,978 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 1,826 of 2,978   
   Markus Humm to All   
   Re: For-to variable goes backwards   
   12 Jul 05 20:42:23   
   
   From: markus.humm1@freenet.de   
      
   [snip]   
   >   
   >   
   > Please show us some more code. Sure the loop variable is what is decremented?   
   > When executing the loop variable must start with the first value and then be   
   > incremented until the end condition is met!   
   >   
   > program test ;   
   >   
   > var   
   >   
   >   I : integer   
   >   
   > begin   
   >   for  I  :=  1  to  10  do   
   >   writeln (I) ;   
   > end.   
   > will surely show the numers 1 to 10 printed on separate lines.   
   > Hans, http://www.hansotten.com   
      
   On screen might be, but during debugging in Delphi I think I had the   
   same phenomena as mentioned by the op once.   
      
   Greetings   
      
   Markus   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca