www.delorie.com/djgpp/bugs/show.cgi   search  
Bug 000294

When Created: 07/12/1999 09:00:37
Against DJGPP version: 2.01
By whom: magnus82@hotmail.com
Abstract: clreol hangs the computer
This code seems to hang the computer:
 gotoxy(0,0);
 clreol();

Note added: 07/12/1999 14:00:37
By whom: broeker@physik.rwth-aachen.de
There's at least one bug in the code shown, as well:
gotoxy() coordinates are 1-based, i.e. gotoxy(0,0) is an illegal
call. Chances are that this confused clreol() into an 
endless loop.

Note added: 07/12/1999 16:00:00
By whom: magnus82@hotmail.com
The info topic on gotoxy explained that the upper left corner of the text window was (1,1), not (0,0) as I thought. I apologize for taking up your time...

Closed on 07/12/1999 16:00:41: It was not really a bug
By whom: magnus82@hotmail.com



  webmaster     delorie software   privacy  
  Copyright © 2010   by DJ Delorie     Updated Jul 2010