comp.lang.ada
 help / color / mirror / Atom feed
From: Michal Nowak <vinnie@inetia.pl>
To: "comp.lang.ada usegroup->mailing list gateway"
	<comp.lang.ada@ada.eu.org>
Subject: Re: Why won't this package compile?
Date: Wed, 26 Dec 2001 15:59:35 +0100
Date: 2001-12-26T15:59:35+01:00	[thread overview]
Message-ID: <mailman.1009378502.6867.comp.lang.ada@ada.eu.org> (raw)
In-Reply-To: <CYkW7.31524$4f7.4360622@news11-gui.server.ntli.net>

On 01-12-26 at 14:15 Liddle Feesh wrote:

>In addition, I've created a package body for the program as below...
>
>Still getting errors apon errors - a parse error, plus errors for not
>completing the specification -> which to my best knowledge and ability is
>complete.
>
>Does >anyone< have any pointers?

Just another one newbie will try to give you some access :-))

It may be a little hard, because you did not gave the errors,
that you got, but what I can say from code inspection:

>package body Queue_Package is
>
>  procedure add is
>  begin
>  -- put_Line("Queue_Package Add node procedure");

If you want to use Put_Line you should with Ada.Text_IO
and use Ada.Text_IO;

>  end add;
>
>  procedure remove is
>  begin
>  -- Put_Line("Queue_Package Remove node procedure");
>  end Remove;
>
>  procedure initalise is
>  begin

There cannot be nothing here.
If you want the precedure do nothing,
write just:
null;
>  end initalise;
>
>  procedure is_empty_Queue
>  begin
>
>  end is_empty_Queue;
>
>end Queue_Package;

And what is the specification?

BTW, in some previous mail you wrote, that you are not using
GNAT, because it is not working on your system.
What version of GNAT and from did you got it from? 

Mike
-----------------------------------------
                             ____|
                             \%/ |~~\
  O                                  |
 o>>        Mike Nowak               |
 T                                   |
/ >       vinnie@inetia.pl           |
http://www.geocities.com/vinnie14pl _|__




  reply	other threads:[~2001-12-26 14:59 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-26 13:33 Why won't this package compile? Liddle Feesh
2001-12-26 14:15 ` Liddle Feesh
2001-12-26 14:59   ` Michal Nowak [this message]
2001-12-26 22:20     ` Liddle Feesh
2001-12-27  8:21       ` Michael Bode
2001-12-27 10:02       ` Michal Nowak
2001-12-27 17:03         ` Liddle Feesh
2001-12-28  9:15           ` GNAT on Win2K Was: " Michal Nowak
2001-12-28 16:25             ` Alfred Hilscher
2001-12-28 17:08               ` Liddle Feesh
2001-12-26 15:08   ` Jeff Creem
2001-12-26 14:49 ` Larry Hazel
2001-12-26 22:21   ` Liddle Feesh
2001-12-27  1:19     ` Larry Hazel
2001-12-26 19:33 ` martin.m.dowie
2001-12-26 23:10 ` Why won't this package compile? - ERRORS FIXED & NEW PROBLEMS & New Source Code Listing Liddle Feesh
2001-12-27  4:21   ` Larry Hazel
2001-12-27 16:57     ` Liddle Feesh
replies disabled

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