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,483 of 2,978    |
|    Charles Appel to All    |
|    Re: Why "ILLEGAL COUNTER VARIABLE"?    |
|    25 Mar 05 13:52:47    |
   
   From: charlesappel@mindspring.com   
      
   "xantarc" wrote in message   
   news:4243a750$1_1@127.0.0.1...   
      
   First program:   
      
   The variable i should really be a local variable.   
   (See Markus Humm's post.)   
      
   Second program:   
      
   arr[i+1]:=y;   
      
   When i equals 5, [i+1] equals 6. There is no arr[6].   
   Thus the range check error.   
      
   My guess is that the same error will show up in   
   the first program once the other error is fixed. It   
   would probably be a good idea to rethink your   
   sorting routine.   
      
   --   
   Charles Appel   
   "A generation which ignores history has no past - and no future."   
    Robert Anson Heinlein   
      
   --- 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