home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Du Jour
/
SoftwareDuJour.iso
/
BUSINESS
/
DBASE
/
WORDWRAP.ARC
/
EMPTY.PRG
< prev
next >
Wrap
Text File
|
1986-10-07
|
647b
|
16 lines
* Prcedure ..: Empty.PRG
* Author ....: Kenneth N. Getz
* Date ......: 7 October 1986
* Version ...: dBASE III PLUS, (Developer's Release)
* Note(s) ...: This procedure is used to clear the buffer area before going on
* with the rest of the program.
*
PROCEDURE Empty
PARAMETERS Width && Width tells how full the buffer may be when done.
*
DO WHILE LEN(TRIM(Buffer)) > Width && If there's some left over
STORE TRIM(Buffer) TO WrapString && call Wrap until it's all used
CALL WRAP WITH WrapString && before going on the next record.
? SPACE(Offset) + TRIM(WrapString)
ENDDO
** EOP Empty.PRG