home *** CD-ROM | disk | FTP | other *** search
- Last revision: February 12, 1987 at 17:39
-
- The MEMOEDIT feature of Clipper is often overlooked and ignored, but
- with some reason. While MEMOEDIT provides a reasonable editor, you
- have no control over the characters it inserts thus making problems
- when you wish to use the string generated from the editor. Clipper
- now provides a MEMOTRAN() function that allows some control but not
- for everything. The function provided by MEMOXLT allows more control
- and since you have the source, it can be modified.
-
- The following is from the source code file and explains both the function
- and its options.
-
- * MEMOXLT()
- * Syntax: MEMOXLT(mem_var [, hard_xlt [,soft_xlt [,lf_xlt [, strip_flag]]]] )
- * Return: A string containing in the contents of the mem_var string
- * with hard/soft CR and LF converted and hi bit stripped.
-
- * default: hard/soft CRs (0D/8D) plus LF (0A) are removed
- *........: and all other characters are bitwise anded with 7F.
- *........: MEMOXLT(mem_var, "", "", "", .T.) is default settings
- *........: MEMOXLT(mem_var, CHR(13), CHR(141), CHR(10), .F.) no changes
-
- Enjoy, Harry M. Van Tassell
-