如题
解决方案 »
- IdUdpServer多线程接收各路数据的问题
- 誰用過第三方的輕量(無句柄的)VCL界面控件(類似於Shape/Label/Image控件)? 請問下載地址,或者請給岀開發參考資料?
- 请进来 谈一下你每次换了新工作后的工资情况
- 在树型目录中,如何判断我选择的节点是否有子节点?
- 100分询问关于如何在dbgrid中标题排序的问题
- 一个有关dataSetProvider 控件的问题
- 一个简单的问题!
- 请问谁使用过installshield 6.2作安装程序?
- 关于ado控件,我在2000下能正常运行,但在98下就会出现错误,好象跟msado15.dll有关,不知道该怎么办?!
- 如何实现这样的运算.
- 续刚才的问题,请meiqingsong(阿飛)和其他朋友帮忙看看
- 有哪个大虾知道,DELPHI代码怎样写打印屏幕的?
i, j, Y : Integer;
begin
AssignFile(f,'TEST.TXT');
Rewrite(f);
{ Create a file with 8 numbers and some
whitespace at the ends of the lines }
Writeln(f,'1 2 3 4 ');
Writeln(f,'5 6 7 8 ');
Reset(f);
{ Read the numbers back. SeekEof returns TRUE if there is no
more text (other than whitespace) in the file. }
Y := 5;
while not SeekEof(f) do
begin
Read(f,j); Canvas.TextOut(5, Y, IntToStr(j));
Y := Y + Canvas.TextHeight(IntToStr(j)) + 5;
end; end;
i, j, Y : Integer;
begin
AssignFile(f,'TEST.TXT');
Rewrite(f);
{ Create a file with 8 numbers and some
whitespace at the ends of the lines }
Writeln(f,'1 2 3 4 ');
Writeln(f,'5 6 7 8 ');
Reset(f);
{ Read the numbers back. SeekEof returns TRUE if there is no
more text (other than whitespace) in the file. }
Y := 5;
while not SeekEof(f) do
begin
Read(f,j); Canvas.TextOut(5, Y, IntToStr(j));
Y := Y + Canvas.TextHeight(IntToStr(j)) + 5;
end; end;