Delphi 1.0/2.0
------------------------------------------------------------------------------------------------HELLOW.DPR
------------------------------------------------------------------------------------------------
program HelloW;
uses
Forms,
Main in 'MAIN.PAS' {fmHelloWorld};
{$R *.RES}
begin
Application.CreateForm(TfmHelloWorld, fmHelloWorld);
Application.Run;
end.
------------------------------------------------------------------------------------------------MAIN.PAS
------------------------------------------------------------------------------------------------
unit Main.pas;
interface
uses
SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
Forms, Dialogs;
type
TfmHelloWorld = class(TForm)
txHelloWorld: TLabel;
private
{ Private declarations }
public
{ Public declarations }
end;
var
fmHelloWorld: TfmHelloWorld;
implementation
{$R *.DFM}
end.
------------------------------------------------------------------------------------------------MAIN.DFM
------------------------------------------------------------------------------------------------
object fmHelloWorld: TfmHelloWorld
Left = 200
Top = 99
Width = 435
Height = 300
Caption = 'fmHelloWorld'
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'System'
Font.Style = []
PixelsPerInch = 96
TextHeight = 16
object txHelloWorld: TLabel
Left = 115
Top = 70
Width = 77
Height = 16
Caption = 'Hello World'
end
end
------------------------------------------------------------------------------------------------
submitted by: bpantoja@promedia.net (Bill Pantoja)