[Overview][Resource strings][Constants][Types][Procedures and functions][Index] | Reference for unit 'unicodedata' (#rtl)

# PrepareCollation

Prepare a collation for use in the list

## Declaration

Source position: unicodedata.pas line 562

`procedure PrepareCollation(`
`ACollation: PUCA_DataBook;`
`const ABaseName: UnicodeString;`
`const AChangedFields: TCollationFields`
`);`

## Arguments

`ACollation` |  | Collation data to prepare
`ABaseName` |  | Base collation to connect to
`AChangedFields` |  | Changed fields, which should not be initialized

## Description

PrepareCollation will link collation definition ACollation to the base collection with name ABaseName (if empty, it defaults to the root collation). It will also initialize some fields in the definition, copying them from the base collation, but excludes the fields enumerated in AChangedFields.

It should normally not be needed to call this function, it is called as part of LoadCollation.

## See also

LoadCollation |  | Load a binary collation data file from file

Documentation generated on: May 14 2021