On 07/07/2011 19:12, Alexander Klenin wrote:

Neither do I advocate  to use const, unless you know what you do..... And if
anyone advocates it, then it's a problem (but not a problem of the feature)
Just google "const string parameter Delphi" to see the advocating.


That's a different issue.

I have stated several times that to me "const param" is similar like "fillchar(StringArray[0], x, 0)"

for both you need to be aware of certain details abstracted from the average use.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to