Skip to main content
Skip table of contents

Bit flags

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

The following bit flag values have been defined for use in string operations:

PLGFWSTR_TC_FLAG_INVALID

This bit flag can be used to determine whether or not a PlgFwTextCharacter variable contains a valid character. A bitwise AND operation on this flag and a PlgFwTextCharacter variable will return non‐zero if the character is invalid.

PLGFWSTR_TC_FLAG_ESCAPED

This bit flag can be used to determine whether or not a PlgFwTextCharacter variable contains an encoded multiple byte value. First, you must determine (using PLGFWSTR_TC_FLAG_INVALID) whether or not the character variable is valid. A bitwise AND operation on this flag and a valid PlgFwTextCharacter variable will return non‐ zero if the character is an encoded multiple byte value and zero if the character is a single byte value. Note that this operation will also return zero if the character is invalid.

JavaScript errors detected

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

If this problem persists, please contact our support.