Skip to main content
Skip table of contents

Adding a new comment processing procedure


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

Procedures to act on comments are inserted either in the %%actions dictionary of %%dict or %actions in %dict according to whether the comment to be processed begins with %% or % respectively. The keys in the actions dictionaries do not include the leading percent sign(s). The dictionaries %%dict and %dict are located in userdict.

If a comment begins with the appropriate number of percent signs followed by a key found in the actions dictionary (including a colon if appropriate), the remainder of the comment is placed in a string on the operand stack and the procedure is extracted from the actions dictionary and executed.

JavaScript errors detected

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

If this problem persists, please contact our support.