Skip to main content
Skip table of contents

(v13) String handling macros

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

The following macros have been defined for use in string operations:

PLGFWSTR_TC_VALID(tc)

This macro, applied to a PlgFwTextCharacter , tests it for validity. The macro returns TRUE if valid, or FALSE if the character is invalid.

PLGFWSTR_TC_ESCAPED(tc)

This macro, applied to a PlgFwTextCharacter , tests whether or not the character is an encoded multiple byte value. The macro returns TRUE if it is an encoded multiple byte character, or FALSE if the character is a single‐byte value or invalid.

PLGFWSTR_TEXTSTRING(pbz)

This macro will mark and cast C‐string constants which are to be translated.

PLGFWSTR_TEXTSTRINGA(stringConstant)

This macro is a special version of PLGFWSTR_TEXTSTRING for initializing in‐line arrays.

JavaScript errors detected

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

If this problem persists, please contact our support.