Skip to main content
Skip table of contents

(v13) Supporting calls in HqnAssert

This page applies to Harlequin v13.1r0 and later; both Harlequin Core and Harlequin MultiRIP

In addition to the various assertion calls listed in (v13) The HqnAssert procset and its child pages, the HqnAssert procset also includes some utility functions:

ErrPrint takes any object and prints it to stderr . The standard PostScript cvs operator is used to generate a string for printing if the object is not already a string, and the resulting string must be shorter than 512 bytes.

(We should not have got here!) ErrPrint

ExtraError is a convenience function to provide extra detail with an error report. It takes three arguments: the offending command, the error name, and a string of extra information.

/MyProcedure /rangecheck (Wibble must be between 17 and 42) ExtraError

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.