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,XPRIO autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7ccbf31c901dc851 X-Google-Attributes: gid103376,public From: "Riyaz Mansoor" Subject: defining functions Date: 1999/11/25 Message-ID: <81gthb$kej$1@bunyip.cc.uq.edu.au>#1/1 X-Deja-AN: 552521257 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Complaints-To: news@uq.edu.au X-Trace: bunyip.cc.uq.edu.au 943454571 20947 172.20.69.157 (24 Nov 1999 14:42:51 GMT) Organization: University of Queensland X-MSMail-Priority: Normal NNTP-Posting-Date: 24 Nov 1999 14:42:51 GMT Newsgroups: comp.lang.ada Date: 1999-11-24T14:42:51+00:00 List-Id: hi there when i try to define a function as below my compiler tells me the name is invalid. when i change the name to "=" it works fine. is this a compiler specific problem? or ada restriction? function "==" (Stack1, Stack2 : in Stack) return Boolean; if this is a compiler problem, i'm using AdaGIDE (GNAT 3.12), is there anyway i can tell the compiler to accept "==" as a valid name? (i find the single equal sign really irritating!!!) thanx ----------------------------------------------------