38 lines
1.0 KiB
Brainfuck
Executable File
38 lines
1.0 KiB
Brainfuck
Executable File
********************************************************************************
|
|
*
|
|
* 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
|
|
|
|
|