Compatible Unicode Intrinsic Functions - Max Method

Returns the largest string

Member of Compatible Unicode Intrinsic Functions (PRIM_LIBI.ICompatibleUnicodeIntrinsics)

Parameters

Name

Type

Data Type

Description

Result

*Result (Optional)

Unicode String

Value of the largest string

String1

*Input

Unicode String

Comparison string

String2

*Input (Optional)

Unicode String

Comparison string

String3

*Input (Optional)

Unicode String

Comparison string

String4

*Input (Optional)

Unicode String

Comparison string

String5

*Input (Optional)

Unicode String

Comparison string

String6

*Input (Optional)

Unicode String

Comparison string

String7

*Input (Optional)

Unicode String

Comparison string

String8

*Input (Optional)

Unicode String

Comparison string

String9

*Input (Optional)

Unicode String

Comparison string

Details

Max compares two or more values, returning the largest.

Max uses a simple code table compare. This may produce different results depending on the execution environment.

Example

In this example, where Value1, Value2 and Value3 contain "ABC," "xyz", and "123" respectively, the result would be "xyz" when using UTF-8

     #Result := #Value1.Max( #Value2 #Value3 )


See also

All Component Classes

Technical Reference

  • No labels