Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

merge txt files

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-22-2008, 05:07 AM
Knows the basics
 
Join Date: Jan 2008
Posts: 78
Default merge txt files

how can I merge some txt files an a fast way perhaps like
Text1.txt + text2.txt + ......
Is there an example?
Reply With Quote
  #2 (permalink)  
Old 09-22-2008, 06:12 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Something like:
Code:
FileOpen(c1,"Text1.txt",cRead)
FileOpen(c2,
"Text2.txt",cRead)
FileOpen(c3,
"out.txt",cWrite)
FileWrite(c3,FileReadToEnd(c1))
FileWrite(c3,FileReadToEnd(c2))
FileClose(c1)
FileClose(c2)
FileClose(c3)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Text Files Erel Tutorials 14 04-24-2009 08:26 AM
SetupBuilder: Which files? schimanski Questions (Windows Mobile) 1 01-26-2008 04:04 PM
xls files instituto Questions (Windows Mobile) 2 11-20-2007 12:29 AM
files .dbf manu Questions (Windows Mobile) 7 06-24-2007 08:22 PM
PDF Files Angelo J. DeLeon Basic4ppc Wishlist 6 05-20-2007 01:46 AM


All times are GMT. The time now is 02:24 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0