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=2.3 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_REPLYTO,INVALID_MSGID,REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d5bcc1bc9c136ab7 X-Google-Attributes: gid103376,public From: Prateek S Fulzele Subject: Record comparision ? Date: 1998/06/04 Message-ID: <3576214E.E7814E6B@adca01.enet.dec.com>#1/1 X-Deja-AN: 359201938 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Organization: Digital Equipment (India) Ltd, Bangalore Mime-Version: 1.0 Reply-To: prateekfulzele@hotmail.com Newsgroups: comp.lang.ada Date: 1998-06-04T00:00:00+00:00 List-Id: Hi everybody! Here I have some doubts regarding record comparisions done in ADA. Read this code sample: type REC_TYPE; type REC_PTR_TYPE is access REC_TYPE; type REC_TYPE is record INT1 : INTEGER; INT2 : INTEGER; end record; -- now I declare two variables of REC_PTR_TYPE REC_PTR1, REC_PTR2 : REC_PTR_TYPE; -- then, assign some values to the record members of -- REC_PTR1, REC_PTR2. .... -- now I say: if REC_PTR1 < REC_PTR2 then -- do so and so .. end if; What is this signify ? Does it mean that REC_PTR1.INT1 < REC_PTR2.INT1 or else ? Please clarify. Thanks in advance! Prateek -- ------------------------------------------------------------------- Prateek S Fulzele Telecom Development Center, Digital Equipment India Ltd, Bangalore -------------------------------------------------------------------