comp.lang.ada
 help / color / mirror / Atom feed
* Private Types???
@ 1999-05-30  0:00 Ern
  1999-05-30  0:00 ` Robert Dewar
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ern @ 1999-05-30  0:00 UTC (permalink / raw)


I have a problem which I am having a hard time solving. I'm a running a
three-file program; a driver and a package body and specification. Formerly
this was combined in one file and worked fine. Now, I've moved all the type
declarations to the specification and made some of them private. One type in
particular is an array of a record type. This is where the problem lies.
When reading data from a file which I know to be correct (this procedure
worked when all code was encompassed in one file) I get a constraint error,
if I run the procedure again, with the same file, I get a use error. What I
can't figure out is why; these types are available to the driver program.

Please, if anyone can help me, please email me directly because I don't
often visit these groups.


                            Thanks, Paul






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

end of thread, other threads:[~1999-05-30  0:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-05-30  0:00 Private Types??? Ern
1999-05-30  0:00 ` Robert Dewar
1999-05-30  0:00 ` Paul Hussein
1999-05-30  0:00 ` Robert Dewar

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