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=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ucbvax!telesoft.UUCP!keith From: keith@telesoft.UUCP.UUCP Newsgroups: comp.lang.ada Subject: Quick Ada Questions Message-ID: <8704010127.AA17390@sdcsvax.UCSD.EDU> Date: Tue, 31-Mar-87 19:49:25 EST Article-I.D.: sdcsvax.8704010127.AA17390 Posted: Tue Mar 31 19:49:25 1987 Date-Received: Fri, 3-Apr-87 03:34:21 EST Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet List-Id: In article <8804@stroke.UUCP> you ask: >From: sdcsvax!Xerox.COM!nosc!Felton.pa > > Here are a few quick questions for you Ada programmers out there. > > Does Ada support... > > Procedures passed as parameters? Only to generics during instantiation; and whole tasks. > Return of multiple values from procedures? Yes. Functions and out mode parameters may be of any type declarable in the Ada language. > Automatic dereferencing of pointers? Very automatic. > Monitors? Monitors may be implemented using tasks. Many of the texts (Shumate, Buhr, Booch) refer to this. > Dynamically allocated arrays with length determined at run time? Absolutely. Better yet, record structures may be depend upon a discriminant field, and have their structure altered during run time! > Programmer definable machine representation of data structures? > (i.e. specifying which bits are used to hold a given field of a record.) As well as specifying what location an object is considered to be within memory, and attaching a trap vector to a tasks entry point, and specifying the values used to represent the elements of a scalar type. > >Thanks, John If you have more questions I would be pleased to correspond further over mail. Keith Allan Shillington telesoft!keith@UCSD.ARPA 619/457-2700x388.ATT ucbvax!sdcsvax!telesoft!keith.UUCP