🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #2061

Re: Op overloading/var. parms

#2061
From: Bill Seurer
Date: Tue, 07 May 1991 13:19
16 lines
1344 bytes
Excerpts from netnews.comp.lang.modula2: 6-May-91 Re: Op
overloading/var. parms mdlcpgs@lhn.dsir.govt.nz (1100)

> > "abcd" then 123 + 456 must =be123456, right?  :-)

> Dont get this. "123" + "456" would indeed equal "123456"
> 	        123 + 456 = 579

"123" + "456" would indeed (if + were string concatentation) be "123456"
but my example was the INTEGER 123 plus the INTEGER 456...  The point
was that concatenation is not the same as addition.  It is just more
obvious that it is "wrong" is you look at it from the other side (i.e.,
addition is the same as concatenation)..

- Bill Seurer         Programming Support   IBM Rochester, MN
  Prodigy: CNSX71A    Internet: seurer@rchland.vnet.ibm.com
Technical Details
Message-ID: <gc9eZig91EAfE2ZOgR@rchland.ibm.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!wuarchive!uunet!panews!rchland.ibm.com!seurer+
References: <editor%ucf1vm.BITNET@LILAC.BERKELEY.EDU> <8015.280c0c0e@lhn.dsir.govt.nz> <1991Apr19.173651.9572@iitmax.iit.edu>, <8020.281425b4@lhn.dsir.govt.nz> <4c7263c91EAfQ1BW4G@rchland.ibm.com>, <8024.28252688@lhn.dsir.govt.nz>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!wuarchive!uunet!panews!rchland.ibm.com!seurer+
From: seurer+@rchland.ibm.com (Bill Seurer)
Newsgroups: comp.lang.modula2
Subject: Re: Op overloading/var. parms
Message-ID: <gc9eZig91EAfE2ZOgR@rchland.ibm.com>
Date: 7 May 91 13:19:42 GMT
References: <editor%ucf1vm.BITNET@LILAC.BERKELEY.EDU> <8015.280c0c0e@lhn.dsir.govt.nz> <1991Apr19.173651.9572@iitmax.iit.edu>, <8020.281425b4@lhn.dsir.govt.nz> <4c7263c91EAfQ1BW4G@rchland.ibm.com>,
 <8024.28252688@lhn.dsir.govt.nz>
Organization: IBM Rochester, Mn
Lines: 16
In-Reply-To: <8024.28252688@lhn.dsir.govt.nz>