comp.lang.ada
 help / color / mirror / Atom feed
From: David Morton <dmorton@jinx.sckans.edu>
Subject: Re: overload ":=" ???
Date: 1996/07/21
Date: 1996-07-21T00:00:00+00:00	[thread overview]
Message-ID: <31F1C49D.451B20C1@jinx.sckans.edu> (raw)
In-Reply-To: 4soh73$56h@newsbf02.news.aol.com


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...




  reply	other threads:[~1996-07-21  0:00 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-07-17  0:00 overload ":=" ??? David Morton
1996-07-17  0:00 ` Robert Dewar
1996-07-18  0:00   ` David Morton
1996-07-19  0:00     ` Brad Balfour
1996-07-19  0:00     ` David Weller
1996-07-18  0:00   ` Laurent Guerby
1996-07-25  0:00   ` Wolfgang Gellerich
1996-07-25  0:00     ` Robert A Duff
1996-07-18  0:00 ` John Herro
1996-07-18  0:00   ` Robert Dewar
1996-07-19  0:00     ` John Herro
1996-07-21  0:00       ` David Morton [this message]
1996-07-21  0:00       ` Laurent Guerby
1996-07-22  0:00         ` Robert A Duff
1996-07-23  0:00           ` Laurent Guerby
1996-07-23  0:00             ` Robert A Duff
1996-07-23  0:00             ` John Herro
1996-07-22  0:00       ` Laurent Guerby
1996-07-22  0:00       ` David Morton
1996-07-22  0:00         ` Robert Dewar
1996-07-23  0:00         ` Robert A Duff
1996-07-22  0:00           ` Robert Dewar
1996-07-22  0:00       ` Laurent Guerby
1996-07-23  0:00       ` Tarjei Jensen
1996-07-23  0:00         ` Robert A Duff
1996-07-24  0:00       ` Robert I. Eachus
1996-07-18  0:00 ` Jon S Anthony
1996-07-19  0:00 ` Joerg Ozimek
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox