From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f2ce122bf6177acb X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: protected types in Ada95 Date: 1997/09/11 Message-ID: #1/1 X-Deja-AN: 271753560 References: <5uui32$dhg@alf01.uib.es> Organization: New York University Newsgroups: comp.lang.ada Date: 1997-09-11T00:00:00+00:00 List-Id: <<: 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!