Symbian3/PDK/Source/GUID-BAAB73D8-EF7F-5F62-B819-25EB2F5CCE3E.dita
changeset 5 f345bda72bc4
parent 3 46218c8b8afa
child 14 578be2adaf3e
equal deleted inserted replaced
4:4816d766a08a 5:f345bda72bc4
     7     Nokia Corporation - initial contribution.
     7     Nokia Corporation - initial contribution.
     8 Contributors: 
     8 Contributors: 
     9 -->
     9 -->
    10 <!DOCTYPE concept
    10 <!DOCTYPE concept
    11   PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
    11   PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
    12 <concept xml:lang="en" id="GUID-BAAB73D8-EF7F-5F62-B819-25EB2F5CCE3E"><title>Using TFileText</title><prolog><metadata><keywords/></metadata></prolog><conbody><section id="GUID-AE64FFF5-CD6A-56AE-9A73-809F0BBD41D3"><title>Using Write()</title> <p>The code fragment below causes three records to be written. This means that three calls to <codeph>Read()</codeph> are needed to read the data. </p> <codeblock id="GUID-EBB424E4-A6DA-50B9-B3E6-A64EA01C7D75" xml:space="preserve">_LIT8(KData,"Record1\nRecord2\nRecord3");
    12 <concept id="GUID-BAAB73D8-EF7F-5F62-B819-25EB2F5CCE3E" xml:lang="en"><title>Using
       
    13 TFileText</title><shortdesc>This topic describes how to read the data.</shortdesc><prolog><metadata><keywords/></metadata></prolog><conbody>
       
    14 <section id="GUID-AE64FFF5-CD6A-56AE-9A73-809F0BBD41D3"><title>Using Write()</title> <p>The
       
    15 code fragment below causes three records to be written. This means that three
       
    16 calls to <codeph>Read()</codeph> are needed to read the data. </p> <codeblock id="GUID-EBB424E4-A6DA-50B9-B3E6-A64EA01C7D75" xml:space="preserve">_LIT8(KData,"Record1\nRecord2\nRecord3");
    13 ...
    17 ...
    14 TInt err=fileText.Write(KData);
    18 TInt err=fileText.Write(KData);
    15 ...</codeblock> <p><b>See also</b> </p> <p> <xref href="GUID-95310602-EA12-3AEE-BDBD-F750FC17CAC4.dita#GUID-95310602-EA12-3AEE-BDBD-F750FC17CAC4/GUID-ED60FF88-7296-300B-BE40-2CB5ADFBF5B4"><apiname>TFileText::Read()</apiname></xref> </p> </section> </conbody></concept>
    19 ...</codeblock> <p><b>See
       
    20 also</b> </p> <p> <xref href="GUID-95310602-EA12-3AEE-BDBD-F750FC17CAC4.dita#GUID-95310602-EA12-3AEE-BDBD-F750FC17CAC4/GUID-ED60FF88-7296-300B-BE40-2CB5ADFBF5B4"><apiname>TFileText::Read()</apiname></xref> </p> </section>
       
    21 </conbody></concept>