Quote Originally Posted by cronodragon
Quote Originally Posted by arthurprs
Quote Originally Posted by cronodragon
Const is for string, record and array parameters.
For anything with more than 4bytes in size
Hmm, a method type (procedure of object) has 8 bytes and I haven't seen any tip about passing it with Const. What the Delphi Help says is that const should be used with structure types.
Maybe its an "exeption" (not sure about this word)