Navigation:  Reference > Functions By Category > Strings >

lMemoWrite()

Previous pageReturn to chapter overviewNext page

Clipper and Xbase++ add a EOF char (chr(26)) at the end of the file ( => cTxt+chr(26) ).

This was OK for DOS, but in Windows XbpMLE you see a little box at the bottom.

This function acts just like the Xbase++ MemoWrit(), but not add the Chr(26) (EOF char) at the end of the file.

 

Syntax:

lMemoWrite( cFile , cStr , lAppend ) -> lOk

 

Parameters:

<cFile >

The filename for the new file. An existing file will be deleted or appended. See the third parameter.

<cStr>

String to write into cFile

<lAppend>

DEFAULT .F. -> just overwrite

If .T.the string will be added at the end of the file instead of replacing its content.