home *** CD-ROM | disk | FTP | other *** search
- ;C
- ┌─────────────────────────────────────────────────────────────────────────────┐
- │ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ EXAMPLE # 5 ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ │
- └─────────────────────────────────────────────────────────────────────────────┘
- ┌─────────────────────────────────────────────────────────────────────────────┐
- │ │
- │ │
- │ THE INPUT FILE: List of acts for a talent agency. This file is 354 │
- │ characters wide -- far more than the normal 255 character │
- │ limit for input lines. │
- │ │
- │ WHAT WE WANT: Copy the name, phone number and description fields only. │
- │ The output should be in comma-delimited format. │
- │ │
- │ HOW WE DO IT: (1) We use the SPLIT command to break up the lines. │
- │ (2) We use TRIM to remove spaces. │
- │ (3) We control parsing with a line counter (which will │
- │ will name LineCntr). │
- │ │
- │ │
- └─────────────────────────────────────────────────────────────────────────────┘
-
- ;P
-