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,803df5f3f60558d5 X-Google-Attributes: gid103376,public From: dewar@cs.nyu.edu (Robert Dewar) Subject: Re: Is 'out' different from 'in out' (Was: Uninitialized "out" parameters) Date: 1996/07/22 Message-ID: #1/1 X-Deja-AN: 169597864 references: <31EEACDA.64880EEB@sage.inel.gov> organization: Courant Institute of Mathematical Sciences newsgroups: comp.lang.ada Date: 1996-07-22T00:00:00+00:00 List-Id: Bob said, answering another comment >My intuitive view, and I guess the easier to teach, is that 'out' >parameters involve >initialization at the beginning of the subprogram. I agree that would be the intuitive view, and easier to teach. It's not true, though... On the other hand, it's close enough to being true that if you program that way, you won't get in trouble. I disagree, this would lead you to believe that access fields in a record were initialized to null, and they are definitely not (in both Ada 83 and Ada 95, they are copied from the callers value).