Author Topic: Missing from manual -- WORDWRAP  (Read 1237 times)

0 Members and 1 Guest are viewing this topic.

kenbrody

  • Administrator
  • Posts: 82
    • View Profile
Missing from manual -- WORDWRAP
« on: September 28, 2006, 09:45:15 AM »
The following was missing from the 5.6 manual, though it is in the help file. (The manual is being updated.)

-----------------
Wrap information:
-----------------

    xx = WORDWRAP(field,width [,flag] )
    xx = @WORDWRAP
[linenum][/list]
The WORDWRAP() function generates wordwrap information for the given field, as wrapped to the given width.  It returns the number of lines that result.  The optional flag parameter can be any of:
    "0" - Return text as-is
    "1" - Strip trailing spaces
    "2" - Include hard-returns in the text.
    Other values are currently undefined.
    The default is "0".

The @WORDWRAP[] array returns wach line of wrapwrapped text from the most recent WORDWRAP() call.
Kenneth Brody
aka "Mr. filePro"  :-)