[fpc-devel] bug: Inc(v,i)/Dec(v,i)

Vinzent Hoefler JeLlyFish.software at gmx.net
Fri Jul 8 14:52:08 CEST 2005


On Friday 08 July 2005 12:24, Gerhard Scholz wrote:
> ----- Original Message -----
> From: "Vinzent Hoefler" <JeLlyFish.software at gmx.net>
> To: "FPC developers' list" <fpc-devel at lists.freepascal.org>
> Sent: Friday, July 08, 2005 1:24 PM
> Subject: Re: [fpc-devel] bug: Inc(v,i)/Dec(v,i)
>
> > OTOH, ...
>
> new abbreviation? what's that?

http://www.acronymfinder.com/af-query.asp?String=exact&Acronym=otoh

;-)

> With some accustomization, "inc(..." and "v := v + ..." is both good
> readable, and normally (at least with checks off) it was assumed to
> produce compacter and faster code. Especially when v is not a simple
> variable, but a more complex one, e.g.:
>     Inc ( v[j]^[k].a[l], delta ) ;
> And in such a case it's also better readable.

Yes, if you really need to do such complex expressions. I tend to write 
smaller subroutines which take arguments.


Vinzent.

-- 
public key: http://www.t-domaingrabbing.ch/publickey.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20050708/e1afd8ce/attachment.sig>


More information about the fpc-devel mailing list