home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.modula3
- Path: sparky!uunet!shearson.com!jredford
- From: jredford@shearson.com (John Redford)
- Subject: Re: references, objects & m3
- In-Reply-To: fn00@gte.com's message of 25 Jan 93 13:56:01 GMT
- Message-ID: <1993Jan25.191726.6722@shearson.com>
- Sender: news@shearson.com (News)
- Organization: Lehman Brothers
- References: <C1BsMI.5Ay@undergrad.math.waterloo.edu> <MOSS.93Jan24164146@CRAFTY.cs.cmu.edu>
- <C1E30F.vx@undergrad.math.waterloo.edu>
- <FN00.93Jan25085601@tahoe.gte.com>
- Date: Mon, 25 Jan 1993 19:17:26 GMT
- Lines: 21
-
- In article <FN00.93Jan25085601@tahoe.gte.com> fn00@gte.com (Farshad Nayeri) writes:
-
- In article <C1E30F.vx@undergrad.math.waterloo.edu> papresco@undergrad.math.waterloo.edu (Paul Prescod) writes:
-
- [STUFF DELETED]
-
-
- Also is there anyway to auto-initialize/auto-destroy objects as in C++
- with constructors and destructors?
-
- Not really (except for static initializations). This is a matter of
- religeous war among Modula-3 purists and people with C++ orientation.
-
- I have been looking at the WeakRef interface. It would appear at first
- reading that this would provide a destructor-like functionality. I
- cant tell for sure if it would work with objects, but it would seem
- likely.
-
- --
- John Redford (AKA GArrow) | 3,600 hours of tape.
- jredford@shearson.com | 5 cans of Scotchguard.
-