comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: protected types in Ada95
Date: 1997/09/11
Date: 1997-09-11T00:00:00+00:00	[thread overview]
Message-ID: <dewar.874023386@merv> (raw)
In-Reply-To: EGArp1.H8K.0.-s@inmet.camb.inmet.com


<<:    package body data_pac is
:       protected type type_of_var_prot is
:          function read_var return integer is
:          begin
:             -- body of the function
:          end read_var;
:          procedure write_var (item : in type_of_var) is
:          begin
:             -- body of the procedure>>


why are you declarting another protected type here, don't you mean to
be declarting the protected body. It is important to at least learn
how to read the syntax stuff in the RM!





      parent reply	other threads:[~1997-09-11  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-09-07  0:00 protected types in Ada95 SAD KAT
1997-09-10  0:00 ` Tom Moran
1997-09-11  0:00   ` Stephen Leake
1997-09-10  0:00 ` Tucker Taft
1997-09-10  0:00   ` Robert A Duff
1997-09-11  0:00   ` Robert Dewar [this message]
replies disabled

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