Page 1 of 1

4D SpaceBreak Ext

Posted: May 4th, 1993, 9:00 am
by Info-Mac
Download: http://archive.info-mac.org/dev/db/a4d/ ... ak-ext.hqx

To: [email protected]
X-VMS-To: IN%"[email protected]"

SpaceBreak(fullstr;len;returnstr; remainstr)

This external breaks a string at the last space before the passed length. A string without spaces will be broken at the length point. A string shorter than the length will be returned complete.

This routine will take a long string and break it into lines of length vlen each separated by a CRLF. This is useful for serial printing when you want to break a page of text into lines of a specified length. Be sure to initialize all variables befor