[fpc-pascal] Record helpers on built in types?
Sven Barth
pascaldragon at googlemail.com
Wed Feb 18 11:15:59 CET 2015
Am 18.02.2015 09:18 schrieb "Anthony Walter" <sysrpl at gmail.com>:
>
> Sven, thanks for all these improvements you've made. From this page
http://wiki.freepascal.org/Helper_types#Syntax can you explain what [hint
modifiers] are, and also how does the optional (BaseHelper) come into play?
Hint modifiers are the usual "deprecated", "platform", etc. modifiers as
documented here:
http://www.freepascal.org/docs-html/ref/refse5.html#x17-160001.5
Base helper is if you want to extend an existing helper for the same type
(or in case of class helpers for the parent type). This is useful, because
currently only one helper for each type is active in the current scope.
It's basically inheritance for helpers. The Delphi modes however support
this only for class helpers.
Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20150218/6dbdb18a/attachment.html>
More information about the fpc-pascal
mailing list