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,9fb64e4c58f1fe X-Google-Attributes: gid103376,public From: David Morton Subject: Re: overload ":=" ??? Date: 1996/07/21 Message-ID: <31F1C49D.451B20C1@jinx.sckans.edu>#1/1 X-Deja-AN: 169192171 references: <4soh73$56h@newsbf02.news.aol.com> content-type: text/plain; charset=us-ascii organization: student mime-version: 1.0 newsgroups: comp.lang.ada x-mailer: Mozilla 2.01 (X11; I; Linux 2.0.7 i486) Date: 1996-07-21T00:00:00+00:00 List-Id: Well, so far, the adjust procedure doesn't seem to do what I want... Like someone else pointed out, I'm really wanting to do a conversion. But it would be nice to have it done automatically. like my example: type Text is record Buffer : String(1..80); Length : Natural; end record; ... a : Text; begin a := "test"; -- would like this to set both fields accordingly... a := To_Text("test"); -- seems too wordy If that can't be done, then, IMHO, there is *one* way that C++ is better... but the only one so far. why is this so hard to implement?? -- David Morton mailto:dmorton@jinx.sckans.edu http://www.sckans.edu/~dmorton/ 205 College, Winfield, KS 67156 This signature will self-destruct in 10 seconds...