Date: Sun, 12 Dec 1993 14:39:06 +0100 To: djgpp AT sun DOT soe DOT clarkson DOT edu From: ahelm AT email DOT tuwien DOT ac DOT at (Anton Helm) Subject: wrong coordinates in putch(), clrscr() Some of my programs use block-graphics generated with gotoxy() and putch() commands. This was working on most compilers. When using djgpp 1.11 The cursor is set to (X,Y) by gotoxy(X,Y). putch(219) draws a block to position (Y,X) X and Y are exchanged !!! Workaround: use ScreenPutChar(), defined in pc.h clrscr() has no effect. Workaround: use ScreenClear(), defined in pc.h Tony ============================================================================ ** Institut fuer Nachrichtentechnik ** Dipl.-Ing. und Hochfrequenztechnik ** Anton HELM Guszhausstr. 25/389 ** Gratian-Marx Str. 7/27 A-1040 Wien ** A-1110 Wien AUSTRIA ** AUSTRIA ** Tel.: +43-1-58801-3524 ** FAX : +43-1-5870583 ** ** ============================================================================ ________ __ __ __ __ __ _______ __ __ /__ __/ / / / / / / / / / / / _____/ / \ / / / / / / / / _____ / / __ / / / / / /____ / /\ \ / / / / / / / / /____/ / / / / / / / / / _____/ / / \ \ / / / / / /___/ / / /__/ /__/ / / / / /____ / / \ \/ / /__/ /_______/ /___________/ /_/ /______/ /_/ \__/ ============================================================================