From: jerry@jvdsys.nextjk.stuyts.nl (Jerry van Dijk)
Subject: Re: Displaying positional text
Date: 1996/07/30
Date: 1996-07-30T00:00:00+00:00 [thread overview]
Message-ID: <DvDpqI.5n@jvdsys.nextjk.stuyts.nl> (raw)
In-Reply-To: 4taun9$3i2@hq.hq.af.mil
1Lt Joel Rudy (joel.rudy@comm.hq.af.mil) wrote:
: Is there an Ada95 package that allows you to display text at position(x,y)
: where x is the row, and y is the column (or something similar).
Not in Ada itself, since it would depend on the platform the program
is running on.
However, there probably is a function to do this somewhere on your system,
just import & and use it.
If you happen to use GNAT on DOS you might use:
procedure Goto_XY (X, Y : in Integer);
pragma Import (C, Goto_XY, "gotoxy");
and move the cursor home with:
Goto_XY (1, 1);
Hope this helps,
Jerry.
--
-----------------------------------------------------------------------
-- Jerry van Dijk -- e-mail: jerry@jvdsys.nextjk.stuyts.nl --
-- Banking Consultant -- Member Team-Ada --
-- Ordina Finance BV -- Located at Haarlem, The Netherlands --
next prev parent reply other threads:[~1996-07-30 0:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-07-26 0:00 Displaying positional text 1Lt Joel Rudy
1996-07-28 0:00 ` Robert Dewar
1996-07-29 0:00 ` Do-While Jones
1996-07-30 0:00 ` Jerry van Dijk [this message]
1996-07-31 0:00 ` Michael Feldman
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox