Initializing help system before first use

# compare

Purpose
Compare 2 values.
Synopsis
`function compare(arg1:ordered type, arg2:same type as arg1):integer`
Arguments

arg1 | First operand for the comparison
arg2 | Second operand for the comparison (same type as arg1)

Return value
0 if arguments are identical, -1 if the first argument is less than the second argument and 1 otherwise.
Further information
This function is defined for integer, real, string and boolean variables. It is also available for module types that implement the necessary functionality.
Parent Topic Predefined functions and procedures

© 2001-2026 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.