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,828 of 2,978    |
|    Marco van de Voort to Foldager    |
|    Re: For-to variable goes backwards    |
|    13 Jul 05 06:30:18    |
   
   From: marcov@stack.nl   
      
   On 2005-07-12, N Foldager wrote:   
   >   
   >   
   > When I step through a for- to loop like:   
   >   
   > for I =: 1 to 10 do   
   >   
   > the variable, I, actually starts with 10 and counts down instead of   
   > up. This is a known; it should be due to some optimization.   
      
   Actually I'd expect it to count from 9 to 0.   
      
   > But why is this more optimal in the generated code?   
      
   Assembler gotcha's.   
      
   > Is there a way to switch this optimization off as long as I am   
   > debugging my program?   
      
   No. Only all optimization.   
      
   --- 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