Sign in Join
FPDoc Onlineexperiment

RegisterCollation function

In unit unicodedata

Register a new collation.

Declaration

pascal
function RegisterCollation(const ACollation: PUCA_DataBook): Boolean
 ; overload

Arguments

ACollation

Pointer to collation data in memory.

Function result

True if the collation is registered correctly.

Description

RegisterCollation registers a new collation ACollation in the list of known collations. The collation data can be specified directly ( ACollation) or a name of a language ( ALanguage) in a directory ( ADirectory). The latter option will load the binary encoded collation from file using LoadCollation.

If the collation is loaded correctly, True is returned, otherwise False is returned (for instance when a collation with the same name is already loaded).

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.