Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!van-bc!ubc-cs!uw-beaver!zephyr.ens.tek.com!tektronix!percy!m2xenix!george From: george@m2xenix.psg.com (George Emery) Newsgroups: comp.lang.modula2 Subject: Re: Overloading? Message-ID: <1991Apr22.170333.9180@m2xenix.psg.com> Date: 22 Apr 91 17:03:33 GMT References: <209.2812FBE7@puddle.fidonet.org> Organization: Pacific Systems Group, Portland Oregon US Lines: 15 >containing routines like Add, Sub, Mul, Div, etc. Using these routines >really clutters your source with statements like: > > a := Add(Mul(b,c),d); > >in stead of the more readable: > > a := b*c+d; > Whenever I've written fixed point routines, I've always scaled INTEGERS and LONGINTs when printing. The advantage is that you can still use +, -, *, / in the normal fashion. You then merely need to remember to use the correct i/o routines. [Perhaps this is a good example of why we shouldn't have standard i/o packages?]