Browse Subversion Repository
Contents of /basinit.pas
Parent Directory
| Revision Log
Revision 1 -
( show annotations)
( download)
( as text)
Mon Nov 7 12:03:00 2011 UTC
(12 years, 4 months ago)
by shiraishikazuo
File MIME type: text/x-pascal
File size: 1395 byte(s)
| 1 |
unit BASINIT; |
| 2 |
|
| 3 |
{$MODE delphi}{$H+} |
| 4 |
|
| 5 |
interface |
| 6 |
|
| 7 |
uses |
| 8 |
Classes, SysUtils; |
| 9 |
|
| 10 |
procedure CreateFormsT; |
| 11 |
procedure CreateFormsG; |
| 12 |
|
| 13 |
|
| 14 |
implementation |
| 15 |
uses |
| 16 |
{$IFDEF UNIX}{$IFDEF UseCThreads}cthreads,{$ENDIF}{$ENDIF} |
| 17 |
Interfaces, // this includes the LCL widgetset |
| 18 |
Forms, LResources, |
| 19 |
TextFrm in 'textfrm.pas', |
| 20 |
paintfrm in 'paintfrm.pas', |
| 21 |
locatefrm in 'locatefrm.pas', |
| 22 |
locatech in 'locatech.pas' {LocateChoice}, |
| 23 |
inputdlg in 'inputdlg.pas', |
| 24 |
charinp in 'charinp.pas', |
| 25 |
base,memman,arithmet; |
| 26 |
|
| 27 |
procedure CreateFormsT; |
| 28 |
begin |
| 29 |
Application.Initialize; |
| 30 |
Application.CreateForm(TTextForm, TextForm); |
| 31 |
Application.CreateForm(TPaintForm, PaintForm); |
| 32 |
Application.CreateForm(TLocateForm, LocateForm); |
| 33 |
Application.CreateForm(TLocateChoiceForm, LocateChoiceForm); |
| 34 |
Application.CreateForm(TInputDialog, InputDialog); |
| 35 |
Application.CreateForm(TCharInput, CharInput); |
| 36 |
end; |
| 37 |
|
| 38 |
procedure CreateFormsG; |
| 39 |
begin |
| 40 |
Application.Initialize; |
| 41 |
Application.CreateForm(TPaintForm, PaintForm); |
| 42 |
Application.CreateForm(TTextForm, TextForm); |
| 43 |
Application.CreateForm(TLocateForm, LocateForm); |
| 44 |
Application.CreateForm(TLocateChoiceForm, LocateChoiceForm); |
| 45 |
Application.CreateForm(TInputDialog, InputDialog); |
| 46 |
Application.CreateForm(TCharInput, CharInput); |
| 47 |
end; |
| 48 |
|
| 49 |
begin |
| 50 |
{$i basic.lrs} |
| 51 |
arithmet.setOpModeNative; |
| 52 |
|
| 53 |
|
| 54 |
MemoryManInit; |
| 55 |
//InitRational; |
| 56 |
|
| 57 |
|
| 58 |
end. |
| 59 |
|
| |