From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e09d1fb937a326a X-Google-Attributes: gid103376,public From: tmoran@bix.com Subject: Re: DOS GNAT questions Date: 1996/06/03 Message-ID: <4otg2q$74t@news1.delphi.com>#1/1 X-Deja-AN: 158134831 organization: Delphi Internet Services Corporation newsgroups: comp.lang.ada Date: 1996-06-03T00:00:00+00:00 List-Id: Replacing ClearScreen and MoveCursor in ...\examples\screen.adb with: procedure ScreenClear; pragma Import(C, ScreenClear, external_name=>"ScreenClear"); procedure ClearScreen renames ScreenClear; procedure ScreenSetCursor(row,col:in natural); pragma Import(C, ScreenSetCursor, external_name=>"ScreenSetCursor"); procedure MoveCursor (To: in Position) is begin ScreenSetCursor(To.Row, To.Column); end MoveCursor; makes the philosophers dine pleasantly on my non-ANSI screen (though they don't clear the table when done). Apparently it was the lack of "external_name=>..."s, rather than a need to explicitly name a C library, that was giving me troubles. It appears I'll have to download more than the minimum djgpp stuff to find answers to my other questions.