On 15 Mar 2009, at 23:20, Francisco Reyes wrote:

Michael Van Canneyt writes:

or Delphi. Regular functions do not need a mode at all. This is a simple rule, which can easily be remembered, no ?

If those are the only two cases sure, but if there are other instances that may suffer from the same it may be helpful to have the mode mentioned on the instances where it matters.

There's at least also "out" parameters, using the "result" keyword and default parameters.


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to