tldm-universe/Ardent/UV/BP/P.ATT

42 lines
1.3 KiB
Plaintext
Raw Normal View History

2024-09-09 21:51:08 +00:00
*******************************************************************************
*
* Attach a PRINTER
*
* 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/25/88 - - Maintenence log purged at 5.2.1, see release 5.1.10.
*
*******************************************************************************
$OPTIONS DEFAULT
dim line(3)
matparse line from trim(@sentence) , " "
begin case
case inmat() = 1
chain 'ASSIGN LP TO LPTR 0'
case inmat() = 2
if upcase(line(2)) = "-WAIT"
then chain 'ASSIGN LP TO LPTR 0 -WAIT'
else chain 'ASSIGN LP':line(2):' TO LPTR ':line(2)
case 1
if upcase(line(3)) # "-WAIT" then
print 'Illegal option "':line(3):'"'
stop
end
chain 'ASSIGN LP':line(2):' TO LPTR ':line(2):' -WAIT'
end case