All articles| All Pictures| All Softwares| All Video| Go home page| Write articles| Upload pictures

Reading number is top 10 articles
SQL,INNER,JOIN,关键字_mssql学习_编程技术
asp.net项目运行的权限问题_.net资料_编程技术
C#中BackgroundWorker组件的用法以及实例
SQL,Server,2005重新安装不上的问题及其解决_mssql学习_编程技术
visual c++中添加ActiveX控件
Ajax基础必读-AJAX中的一些关键技术_[AJAX教程]
用正则表达式过滤脚本的研究(ASP.net)_[Asp.Net教程]
PHP编程中break及continue两个流程控制指令_php资料_编程技术
结合AJAX进行PHP开发之入门_php资料_编程技术
ASP.NET技巧:根据xsd生成xml文档_.net资料_编程技术
Reading number is top 10 pictures
Sell the barbecue as says father du breul3
Born After 90 Beijing sports university campus flower photos3
Forced sex girl living abroad1
9.3阅兵全景图6-常规导弹梯队和核导弹梯队
So beauty, will let you spray blood8
Rendez-vous Sleep with actress, three days to earn 600000
A man's favorite things3--ZhouWeiTong
来几张有特色的图片
Fierce chengdu woman, street rape man
The Soviet union swimsuit exposure in the 70 year2
Download software ranking
Sora aoi, the nurse, uniform ,nursing assistant
Tram sex maniac 2 (H) rar bag16
Boxer vs Yellow2
Unix video tutorial9
dreamweaver8中文版
The hero
虚拟机汉化软件
致我们终将逝去的青春
1400篇各类破解文章
Tram sex maniac 2 (H) rar bag15
aaa published in(发表于) 2014/7/19 0:10:38 Edit(编辑)
delphi在文本文件中添加一行

delphi在文本文件中添加一行

delphi在文本文件中添加一行|Writeln 过程

Writeln 过程

Writeln 过程用来向文本文件中添加一行内容,即在写入内容后面有回车换行符。过程原型如下:

procedure Writeln([ var F: Text; ] P1 [, P2, ...,Pn ] );

Writeln 过程的应用方法和Write 过程的应用方法一样。以下代码功能是向文件中添加两行内容。

如果将Writeln 更改为Write,则只能将两次添加的内容写在一行上。

var

F:TextFile;

begin

if OpenDialog1.Execute then

begin

AssignFile(F,OpenDialog1.FileName);

try

Append(F);

Writeln(F,’第1 行’);

Writeln(F,’第2 行’);

finally

CloseFile(F);

end;

end;

end;




添加到del.icio.us 添加到新浪ViVi 添加到百度搜藏 添加到POCO网摘 添加到天天网摘365Key 添加到和讯网摘 添加到天极网摘 添加到黑米书签 添加到QQ书签 添加到雅虎收藏 添加到奇客发现 diigo it 添加到饭否 添加到飞豆订阅 添加到抓虾收藏 添加到鲜果订阅 digg it 貼到funP 添加到有道阅读 Live Favorites 添加到Newsvine 打印本页 用Email发送本页 在Facebook上分享


Disclaimer Privacy Policy About us Site Map

If you have any requirements, please contact webmaster。(如果有什么要求,请联系站长)
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.