import.css=/download/attachments/6062824/tecnologia.css |
Permite escrever e salvar um arquivo texto.
MemoWrite( < cFile >, < cText > ) |
Nome | Tipo | Descrição | Obrigatório | Referência |
|---|---|---|---|---|
cFile | caractere | Indica o caminho completo (diretório + nome) do arquivo que será criado, do tipo texto. | X |
|
cText | caractere | Indica o texto que será inserido no arquivo. | X |
|
Nome | Tipo | Descrição |
|---|---|---|
lRet | lógico | Retorna .T. se conseguiu criar o arquivo; caso contrário, retorna .F.. |
User Function teste Local cLine := "Teste de arquivo texto 01" + CRLF cLine += "Teste de arquivo texto 02" + CRLF MemoWrite( "c:\dir\testSave.txt", cLine ) Return |
Microsiga Protheus 8.11, Protheus 10, TOTVS Application Server 10, ByYou Application Server