JCL Help:UnicodeIsIdentifierPart

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Tests whether the codepoint is allowed as part of an identifier.


Pascal

 function UnicodeIsIdentifierPart(C: UCS4): Boolean;


Parameters

Parameters Description
C: UCS4 The unicode codepoint (character) to test.


Return Value

If the specified codepoint can be in an identifier the function returns True, otherwise the function returns False.


Description

UnicodeIsIdentifierPart tests whether the specified unicode codepoint is a character that can be in an identifier, ie. the character must be a letter (upper-, lower- or titlecase or other), a letter representing a number, a mark (non-spacing or spacing combining), a decimal digit, a connecting punctuation or a format control character.


About

Unit

JclUnicode


Donator

Mike Lischke


Notes

UnicodeIsIdentifierPart could be replaced by (UnicodeIsIdentifierStart or UnicodeIsNonSpacingMark or UnicodeIsSpacingMark or UnicodeIsDigit or UnicodeIsConnectionPunctuation or UnicodeIsFormatControl


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page