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,2ee7285d371d6c1f,start X-Google-Attributes: gid103376,public From: dewar@cs.nyu.edu (Robert Dewar) Subject: Re: GNAT 3.10: Decriminators for tasks ? Date: 1996/07/15 Message-ID: #1/1 X-Deja-AN: 168471745 references: <4se5fc$bun@unlisys.unlisys.net> organization: Courant Institute of Mathematical Sciences newsgroups: comp.lang.ada Date: 1996-07-15T00:00:00+00:00 List-Id: iMichael said "I allways get the message "descriminant part not allowed in task body", but found some examples like this in the Ada 95 rationale section about tasks. What is wrong ??" It is quite clear from the syntax that a discriminant part is not allowed in the task body. The rationale is NOT an Ada tutorial or primer, and it contains a number of errors, some of them are just plain errors, others of them result from late changes in the language. The rationale is good for a general understanding of what is in Ada 95 and why, but you need a more complete description to actually write code!