comp.lang.ada
 help / color / mirror / Atom feed
* Display procedures and IDEs
@ 1998-07-09  0:00 Jamie
  1998-07-09  0:00 ` Jerry van Dijk
  0 siblings, 1 reply; 2+ messages in thread
From: Jamie @ 1998-07-09  0:00 UTC (permalink / raw)


Hi,

I use the GNAT compiler under a Win95 IDE, and have 
experienced some strange problems when attempting
to use display procedures such as 'Set_Col' and 
'New_Page' etc. 

Instead of the relevant function being executed all
I get at the DOS prompt is a strange message such as
'Got XX' where XX is a number ranging from 4 to around
14.

What's happening here then? 

I am quite literally tearing my hair out, as I'm 
attempting to teach myself the language in preparation for a university
course I'm shortly to be taking.

As an aside, are there any IDE's available that run under DOS or Windows
which allow single stepping and tracing, watches etc. ??

An IDE such as this would be a great help to me as I'm from the C/C++
stable where I have taken features like this for granted.

Thanks for any help in advance,

Jamie.

j.couston@virgin.net




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

* Re: Display procedures and IDEs
  1998-07-09  0:00 Display procedures and IDEs Jamie
@ 1998-07-09  0:00 ` Jerry van Dijk
  0 siblings, 0 replies; 2+ messages in thread
From: Jerry van Dijk @ 1998-07-09  0:00 UTC (permalink / raw)


Jamie (j.couston@virgin.net) wrote:

: I use the GNAT compiler under a Win95 IDE, and have 
: experienced some strange problems when attempting
: to use display procedures such as 'Set_Col' and 
: 'New_Page' etc. 

Well, actually, Ada does not have 'display procedures'.
What you are probably trying to use are Text_IO procedures,
which address structured text files.

As you are on windows, get the nt_console package from my
homepage at http://stad.dsl.nl/~jvandyk, this should do
what you want.

: As an aside, are there any IDE's available that run under DOS or Windows
: which allow single stepping and tracing, watches etc. ??

As you will find out, debugging tools are much less needed with Ada than
with languages like C and C++. Nevertheless, if you are using the ObjectAda
compiler, it does include such a debugger. If you are using the GNAT/AdaGIDE
combination, download the debugger from the same site you got GNAT.

Success,
Jerry.

-- 
-- Jerry van Dijk  | email: jdijk@acm.org
-- Leiden, Holland | member Team-Ada
-- Ada & Win32: http://stad.dsl.nl/~jvandyk




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

end of thread, other threads:[~1998-07-09  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-07-09  0:00 Display procedures and IDEs Jamie
1998-07-09  0:00 ` Jerry van Dijk

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