> In our previous episode, michael.vancann...@wisa.be said:
>> >> On a side note,
>> >>
>> >> 1) for overloaded functions it seems
>> > that only one result string is possible to define. As seen in the XML
>> > file:(no desitinction based on result type)
>>
>> Correct.
>
> See also
> http://bugs.freepascal.org/view.php?id=14843
>
Could XML attributes be used to distinguish overloaded functions? eg
     <element name="UIContext.doButton.Result">
        <short result="boolean">boolean result</short>
        <short result="integer">integer result</short>
      </element>

It should be relatively easy to implement I presume, not break any
existing documentation and it would solve the overload problem.

Regards, Darius

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

Reply via email to