我想把这个过程写在unit1.pas中
然后在first.dpr中调用这个过程,该怎样用啊?
你们能不能把这两个文件都贴出来啊?procedure printhead;
var
i:integer;
begin
for i:=1 to 21 do
write('*');
writeln;
writeln('* this is the table *');
for i:=1 to 21 do
write('*');
writeln;
end;
然后在first.dpr中调用这个过程,该怎样用啊?
你们能不能把这两个文件都贴出来啊?procedure printhead;
var
i:integer;
begin
for i:=1 to 21 do
write('*');
writeln;
writeln('* this is the table *');
for i:=1 to 21 do
write('*');
writeln;
end;
解决方案 »
- 求优化算法
- 请高手帮忙!!!伪发信程序(为什么没有收到邮件)
- 这个表单的按钮,如何用webbrowser来点击啊(没有名字)
- pointer 与其它数据类型的转换
- 如何在delphi中画点
- delphi英文资料
- 如何给Ttreenode添加一个属性或变量来存储一个字符串
- 如何将ADOCONNECTION作为一个参数传给DLL
- 一个关于TreeView的递归问题???在线!!!!!!
- SOS:我在安装SReport3组件时,出现错误:提示找不到report_report.pas文件,是怎么回事? 在线等待
- TBitmap可否进行拉伸??(就是跟放进TImage后一样)
- DBCHART問題,在線等待!請大俠們指點.
SysUtils,
Unit1 in 'Unit1.pas';begin
unit1.printhead();
end.unit Unit1;interface
procedure printhead;
implementationprocedure printhead;
var
i:integer;
begin
for i:=1 to 21 do
write('*');
writeln;
writeln('* this is the table *');
for i:=1 to 21 do
write('*');
writeln;
end;
end.