Per discussions, I've posted a proposed patch on bug 37060
https://bugs.freepascal.org/view.php?id=37060 I've also attached a test program that exercises the new functions. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal