Click or drag to resize

SetCollationTable Function

X#
Query current and/or set user defined collation table .

Namespace:  XSharp.XPP
Assembly:  XSharp.XPP (in XSharp.XPP.dll) Version: 2.21
Syntax
 FUNCTION SetCollationTable(
	nCollation,
	aTable
) AS ARRAY CLIPPER
Request Example View Source

Parameters

nCollation (Optional)
Type: Usual
the numeric identifier for the collation table to be selected. Must be one of the values from the XppCollations enum of a simple number
aTable (Optional)
Type: Usual
a one dimensional array with 256 elements. It must contain numeric values representing the weighing factors for single characters. The ASCII value of a character plus 1 defines the array element that contains the weighing factor for that character.

Return Value

Type: Array
a one dimensional array holding the weighing factors of characters for the active collation.
See Also