comp.lang.ada
 help / color / mirror / Atom feed
* GOTOXY in Ada ?
@ 1994-12-07 12:36 Jan Ahlers
  1994-12-08 13:04 ` Philip Brashear
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Jan Ahlers @ 1994-12-07 12:36 UTC (permalink / raw)


Hi all !

I know this is a rather simple question, but I'll ask it anyways ;-)

Is there an equivalent in Ada to the gotoxy command in Pascal (-> put the
cursor at column x, row y) ? Answers would be greatly appreciated !

Best regards,
Jan

Jan C. Ahlers =============================================== Phone: 0251/89215
Bentelerstr. 8           CARPE NOCTEM !       
48149 Muenster
GERMANY ===================================== email: Jan.Ahlers@uni-muenster.de




^ permalink raw reply	[flat|nested] 9+ messages in thread
* RE: GOTOXY IN ADA ?
@ 1994-12-20  2:06 Michael Hagerty
  0 siblings, 0 replies; 9+ messages in thread
From: Michael Hagerty @ 1994-12-20  2:06 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 892 bytes --]

On 12-12-94, Keith Thompson responded to Dave Retherford:

KT> Sorry, this won't work.  The Set_Col and Set_Line routines won't move the
  > cursor to a previous line or to a previous column on the current line.
  > For example, if the current column number is 20, Text_IO.Set_Col(10) will
  > call New_Line and then output 10 spaces; likewise, Set_Line calls New_Page
  > if necessary (which may or may not clear the screen; typically it won't).

An easier method might be to get the AdaSAGE library for your library.  There
is a gotoxy equivalent routine in there, although it does assume that your
screen is only 2-digit columns wide.  I fixed it for ours and it handles
screens up to 999 columns wide.

Regards, Mikey <michael.hagerty@nitelog.com>
PGP Fingerprint =  56 12 CF A9 0E 53 A4 C4  49 F2 AF E7 F1 D3 47 5F
---
 � MR/2 #63 � Crusoe got everything done by Friday.  Can you?



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~1994-12-20  2:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1994-12-07 12:36 GOTOXY in Ada ? Jan Ahlers
1994-12-08 13:04 ` Philip Brashear
1994-12-09  4:19   ` Dave Retherford
1994-12-12  8:45     ` Keith Thompson
1994-12-13 10:09     ` Andre Spiegel
1994-12-09  2:59 ` Michael Feldman
1994-12-09 15:22 ` Do-While Jones
1994-12-10 21:00   ` Michael Feldman
  -- strict thread matches above, loose matches on Subject: below --
1994-12-20  2:06 GOTOXY IN ADA ? Michael Hagerty

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox