comp.lang.ada
 help / color / mirror / Atom feed
* overload ":=" ???
@ 1996-07-17  0:00 David Morton
  1996-07-17  0:00 ` Robert Dewar
                   ` (3 more replies)
  0 siblings, 4 replies; 28+ messages in thread
From: David Morton @ 1996-07-17  0:00 UTC (permalink / raw)



Is there a way to overload the assignment operator ":=" ?


ie:

with Text_IO; use Text_IO;
procedure Test is
type Text;
type Text_Ptr is access Text;

type Text is record
   Buf : String(1..50);
   Length : Natural;
end record;

function ":="(Right : String) is
begin

...

end ":=";

This would be a very helpful construct...

Thanks!


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




^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~1996-07-25  0:00 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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     ` David Weller
1996-07-19  0:00     ` Brad Balfour
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 ` Jon S Anthony
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       ` 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-21  0:00       ` David Morton
1996-07-22  0:00       ` Laurent Guerby
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-23  0:00       ` Tarjei Jensen
1996-07-23  0:00         ` Robert A Duff
1996-07-24  0:00       ` Robert I. Eachus
1996-07-19  0:00 ` Joerg Ozimek

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