On Sun, Jun 4, 2023 at 11:58 AM Graeme Geldenhuys via fpc-pascal
<fpc-pascal@lists.freepascal.org> wrote:

> Initially I was leaning towards the Range exception, but now I'm
> thinking that maybe the Argument exception is more appropriate
> (based on the descriptions seen in the linked docs).

I would go for range exception, since the offending coordinates are
out of range.
Invalid Argument for me would apply to situations like a wrong type
for a format specifier.


-- 
Bart
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to