tldm-universe/Ardent/UV/APP.PROGS/FCMP.B

38 lines
1.0 KiB
Plaintext
Raw Permalink Normal View History

2024-09-09 21:51:08 +00:00
********************************************************************************
*
* Support of PR1ME INFORMATION subroutine '!FCMP'
*
* Module %M% Version %I% Date %H%
*
* (c) Copyright 1998 Ardent Software Inc. - All Rights Reserved
* This is unpublished proprietary source code of Ardent Software Inc.
* The copyright notice above does not evidence any actual or intended
* publication of such source code.
*
*******************************************************************************
*
* Maintenence log - insert most recent change descriptions at top
*
* Date.... GTAR# WHO Description.........................................
* 10/14/98 23801 SAP Change copyrights.
* 07/28/93 12299 LA Initial implementation.
*
*******************************************************************************
$OPTIONS DEFAULT
subroutine PR1ME(ANSWER, A, B)
IF A < B THEN
ANSWER = -1
END ELSE
IF A = B THEN
ANSWER = 0
END ELSE
ANSWER = 1
END
END
return