equal
deleted
inserted
replaced
|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
3 <!-- This component and the accompanying materials are made available under the terms of the License |
|
4 "Eclipse Public License v1.0" which accompanies this distribution, |
|
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
6 <!-- Initial Contributors: |
|
7 Nokia Corporation - initial contribution. |
|
8 Contributors: |
|
9 --> |
|
10 <!DOCTYPE concept |
|
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"); |
|
13 ... |
|
14 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> |