Welcome to PGD
If this is your first visit, be sure to check out the FAQ by clicking the link above. You have to register before you can post.
If you have recently signed up, please make sure you log in so that your activity is registered. This is required for automatic promotions to work and to ensure your account is not deleted during the registration process.
AthenaOfDelphi
Originally Posted by cronodragon Originally Posted by arthurprs 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)
From brazil (: Pascal pownz!
Forum Rules
Bookmarks