-
Notifications
You must be signed in to change notification settings - Fork 15
/
PackagesGenerator.dpr
43 lines (38 loc) · 1.51 KB
/
PackagesGenerator.dpr
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{******************************************************************************}
{ PackagesGenerator }
{ ErrorSoft(c) 2016 }
{ }
{ More beautiful things: errorsoft.org }
{ }
{ https://github.com/errorcalc/PackagesGenerator/ }
{ }
{ Absolutely free for Open Source and Non Commercial projects. }
{ Please contact me for information on purchasing the commercial license. }
{ $10 for individual developers, $50 for company. }
{ Email: [email protected] for contacts. }
{******************************************************************************}
program PackagesGenerator;
{$APPTYPE CONSOLE}
{$R *.res}
uses
System.SysUtils,
Gen in 'Gen.pas',
WinApi.Windows;
const
Coord: TCoord = (x: 80; y: 2048);
begin
try
SetConsoleScreenBufferSize(GetStdHandle(STD_OUTPUT_HANDLE), Coord);
Generate;
except
on E: Exception do
begin
Writeln(E.ClassName, ': ', E.Message);
if not FindCmdLineSwitch('skip', True) then
begin
Writeln('Press any key...');
Readln;
end;
end;
end;
end.