本文整理自网络,侵删。
program Console101;
{$APPTYPE CONSOLE}
{$R *.res}
uses System.SysUtils, Unit1 in 'Unit1.pas';
begin try Hello; readln; except on E: Exception do Writeln(E.ClassName, ': ', E.Message); end;end.
单元文件:Unit1.pasunit Unit1;
interface
procedure Hello;
implementation
procedure Hello;begin writeln ('Hello, BootCamp');end;
end.
相关阅读 >>
Delphi showmainform := false 失效的解决办法
更多相关阅读请进入《Delphi》频道 >>