[fpc-pascal]adding zero

Mark Emerson mark at angelbase.com
Fri Jan 3 23:14:32 CET 2003


In certain cases I find it useful for documenting my code to show "+0"
when indexing an array...e.g.

x := a [m*n + 0];

Is the compiler smart enough to ignore my "+0"? .... or do I incur a
slight performance penalty for including it?

Mark




More information about the fpc-pascal mailing list