comp.lang.ada
 help / color / mirror / Atom feed
* RE: ObjectAda 7.1 Special Edition - how do I use my own packages?
@ 2001-11-05 17:46 Beard, Frank
  2001-11-05 21:15 ` LONG POST - " Axeplyr
  0 siblings, 1 reply; 4+ messages in thread
From: Beard, Frank @ 2001-11-05 17:46 UTC (permalink / raw)
  To: 'comp.lang.ada@ada.eu.org'

If you're familiar with Windows tools, many, if not most,
use a "project" concept.  With OA, you first create a 
project (using "File/New Project" as SteveD said), then
add files to it using the "Project/Files/Add..." option.
If you are creating a brand new file, use the "File/New File" 
option to create the file.  Once you're to the point where
you want to compile it, you must first save it ("File/Save"),
then add it to your project ("Project/Files/Add..."), and
then you can compile it.

I hope this makes more since.

Frank

PS.
Steve, OA SE's are just like OA Professionals, but with limits
on the number of packages, or units per library, etc., and minus
some additional packages and bindings.  The IDE and GUI Builder
work exactly the same.

-----Original Message-----
From: Axeplyr [mailto:john.fluetter@aixtra.de]
Sent: Saturday, November 03, 2001 12:52 PM
To: comp.lang.ada@ada.eu.org
Subject: Re: ObjectAda 7.1 Special Edition - how do I use my own
packages?


Ok, so if I type in a package spec and body that he has in the text, I need
to create a project that uses them,  then compile, build and execute the
entire thing?   I don't need to precompile them?

The book indicates that you must compile the specification file, then the
body file before you can use them.

I'll give it a try and get back - thanks for the help!

John




^ permalink raw reply	[flat|nested] 4+ messages in thread
* RE: LONG POST - ObjectAda 7.1 Special Edition - how do I use my o wn packages?
@ 2001-11-05 22:01 Beard, Frank
  2001-11-05 22:42 ` LONG POST - ObjectAda 7.1 Special Edition - how do I use my own packages? Axeplyr
  0 siblings, 1 reply; 4+ messages in thread
From: Beard, Frank @ 2001-11-05 22:01 UTC (permalink / raw)
  To: 'comp.lang.ada@ada.eu.org'

In this particular case, it is not a package visibility problem.
The procedure MoveCursor has two arguments in the spec:

    PROCEDURE MoveCursor (Column : Width; Row : Depth);

But, in the body it has no arguments:

    PROCEDURE MoveCursor IS

It should be:

    PROCEDURE MoveCursor (Column : Width; Row : Depth) IS

Hence, the compile error:

> screen.adb: Error: line 32 col 1 LRM:3.11.1(6), Completion required for
> specification 'MoveCursor', Continuing

Frank





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

end of thread, other threads:[~2001-11-05 22:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-05 17:46 ObjectAda 7.1 Special Edition - how do I use my own packages? Beard, Frank
2001-11-05 21:15 ` LONG POST - " Axeplyr
2001-11-05 22:12   ` Axeplyr
  -- strict thread matches above, loose matches on Subject: below --
2001-11-05 22:01 LONG POST - ObjectAda 7.1 Special Edition - how do I use my o wn packages? Beard, Frank
2001-11-05 22:42 ` LONG POST - ObjectAda 7.1 Special Edition - how do I use my own packages? Axeplyr

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