Am 13.12.2017 02:37 schrieb "Fabio Luis Girardi" :
Hi all!
I want to extend some operators in Freepascal. I want to achieve something
like this:
if aStr in ['string item 1', 'string item 2', 'string item 3'] then
...
else
...;
Following the examples to overload operators, I wrote:
operator
It seems that overloading is possible but compiler does not want to accept
anonymous array of strings. It works with variable or with anonymous array of
integers (FPC 3.0.4).
V.
__
Od: Fabio Luis Girardi
Komu: FPC-Pascal users discu