home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 21
/
CD_ASCQ_21_040595.iso
/
dos
/
tools
/
par271
/
example4.inf
< prev
next >
Wrap
Text File
|
1995-03-06
|
950b
|
18 lines
===============================================================================
========================== ============================
========================== EXAMPLE # 4 ============================
========================== ============================
===============================================================================
THE INPUT FILE: List of invoices for a computer store
WHAT WE WANT: (1) Copy only items for the IBM-PC and the Macintosh.
(2) Move the columns around and put more space between them.
(3) Change the way a negative amount is represented
(i.e. change 345.00- to -345.00).
HOW WE DO IT: (1) We use clustered ACCEPTs to make this selection.
(2) We use SET and PAD for this step.
(3) We use IF to detect the sign, then INSERT it as needed