Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Harbour Version 0.37 (c) reference Guid - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

MEMOTRAN()

Converts hard and soft carriage returns within strings.
---------------------------------------------------------------------------------

 Syntax

        MEMOTRAN( <cString>, <cHard>, <cSoft> ) --> <cConvertedString>  

 Arguments

        <cString>   is a string of chars to convert.      

        <cHard>   is the character to replace hard returns with. If not 
                  specified defaults to semicolon.

        <cSoft>   is the character to replace soft returns with. If not 
                  specified defaults to single space.

 Returns

        <cConvertedString>   Trasformed string.    

 Description

      Returns a string/memo with carriage return chars converted to
      specified chars.

 Examples

      ? MEMOTRAN( DATA->CNOTES )
  

 Tests

      @ 1, 1 SAY MEMOTRAN( Data->CNOTES )
      will display converted string starting on row two, column two of the
      current device.
  

Status

      Ready

 Compliance

      MEMOTRAN() is fully CA-Clipper compliant.

 Files

      Library is rtl



See Also: HARDCR() STRTRAN()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson