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

46 lines
1.3 KiB
Plaintext
Raw Normal View History

2024-09-09 21:51:08 +00:00
********************************************************************************
*
* Support of PR1ME INFORMATION subroutine '!INTS'
*
* 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, ARG1)
ANSWER = ''
DIM DELIMITERS (5)
DELIMITERS (0) = ''
DELIMITERS (1) = @IM
DELIMITERS (2) = @FM
DELIMITERS (3) = @VM
DELIMITERS (4) = @SM
DELIMITERS (5) = @TM
ARG1 = ARG1
*---- Test for value marks or subvalue marks.
LOOP
REMOVE STR FROM ARG1 SETTING DELIM
ANSWER := INT(STR):DELIMITERS (DELIM)
WHILE DELIM DO
REPEAT
return