Files
harbour-core/harbour/doc/en/memo.txt

92 lines
2.2 KiB
Plaintext

/*
* $Id$
*/
/*
* The following parts are Copyright of the individual authors.
* www - http://www.harbour-project.org
*
* Copyright 1999 Jose Lalin <dezac@corevia.com>
* MEMOTRAN() documentation
* HARDCR() documentation
*
* See doc/license.txt for licensing terms.
*
*/
/* $DOC$
* $FUNCNAME$
* MEMOTRAN()
* $CATEGORY$
* Strings
* $ONELINER$
* 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 )
* </fixed>
* $TESTS$
* @ 1, 1 SAY MEMOTRAN( Data->CNOTES )
* will display converted string starting on row two, column two of the
* current device.
* </fixed>
* $STATUS$
* R
* $COMPLIANCE$
* MEMOTRAN() is fully CA-Clipper compliant.
* $FILES$
* Library is rtl
* $SEEALSO$
* HARDCR(),STRTRAN()
* $END$
*/
/* $DOC$
* $FUNCNAME$
* HARDCR()
* $CATEGORY$
* Strings
* $ONELINER$
* Replace all soft carriage returns with hard carriages returns.
* $SYNTAX$
* HARDCR( <cString> ) --> <cConvertedString>
* $ARGUMENTS$
* <cString> is a string of chars to convert.
* $RETURNS$
* <cConvertedString> Trasformed string.
* $DESCRIPTION$
* Returns a string/memo with soft carriage return chars converted to
* hard carriage return chars.
* $EXAMPLES$
* ? HARDCR( Data->CNOTES )
* </fixed>
* $TESTS$
* @ 1, 1 SAY HARDCR( Data->CNOTES )
* will display converted string starting on row two, column two of the
* current device.
* </fixed>
* $STATUS$
* R
* $COMPLIANCE$
* HARDCR() is fully CA-Clipper compliant.
* $FILES$
* Library is rtl
* $SEEALSO$
* MEMOTRAN(),STRTRAN()
* $END$
*/