>> You cannot do this in Pascal. The evaluation of the expression on the >> right of := does not >> know (and should not know) what the type is of the expression on the left.
> It's even theoretically impossible to do in case the result is passed to > a function or intrinsic that is overloaded with single/double/extended > parameters. In other cases, I got a "can't determine which overloaded function to call" error, so I think this should be handable; but I understand the first argument of course. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal