Article View: comp.lang.modula2
Article #2302Re: Why no ** operator in Modula2?
From: Mike Dorman
Date: Wed, 05 Jun 1991 13:21
Date: Wed, 05 Jun 1991 13:21
22 lines
1858 bytes
1858 bytes
Someone opined in a Dr. Dobbs Journal many years back, that one obvious addition to Modula-2 (or any other language, for that matter) is a keyword like OPERATOR, or something, which would let you define thingies which you use to perform operations on variables, like **. The only problem I see is that it would either have to take into account all possible variable types, or be variable-type-specific. It would be quite nice to be able to write a + operator for concatenating strings, and stuff like that. Mike. ------------------------------------------------------------------------------- : Michael Alan Dorman : : : MDORMAN1@UA1VM.UA.EDU : Hobbies are things people do when they should be : : BIX: syssupport : sleeping. --M.A.D. : : GEnie: M.DORMAN2 : : : PostalNet: : : : Box 8068 : Stonehenge was built by two drunks with no : : Tuscaloosa, AL : witnesses. --P.S.McGhee : : 35486 : : -------------------------------------------------------------------------------
Technical Details
Message-ID:
<INFO-M2%91060509254746@UCF1VM.BITNET>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!UA1VM.BITNET!MDORMAN1Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!UA1VM.BITNET!MDORMAN1 From: MDORMAN1@UA1VM.BITNET (Mike Dorman) Newsgroups: comp.lang.modula2 Subject: Re: Why no ** operator in Modula2? Message-ID: <INFO-M2%91060509254746@UCF1VM.BITNET> Date: 5 Jun 91 13:21:25 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: Modula2 List <INFO-M2%UCF1VM.BITNET@ucf1vm.cc.ucf.edu> Distribution: world Organization: Institute for Study of Wombats and Lemurs Lines: 22