source: trunk/Demos/Structure/Project.pas

Last change on this file was 21, checked in by george, 14 years ago
  • Modified: Project saving.
File size: 636 bytes
Line 
1program Project;
2
3uses System;
4
5type
6
7 TPercent = 0..100;
8
9 TPoint = record
10 X: Integer;
11 Y: Integer;
12 end;
13
14 TArrayOfByte = array[Byte] of Byte;
15
16function Max(A, B: Byte): Byte;
17var
18 S: Byte;
19begin
20 if A > B then Result := A
21 else Result := B;
22end;
23
24const
25 Verze: Byte = 11;
26var
27 a: Byte;
28 B: Byte;
29 sS: Byte;
30 D: Byte;
31
32begin
33 WriteLn(A);
34 begin
35 WriteLn(11);
36 Pokus;
37 dsd;
38 begin
39 WriteLn(A);
40 end;
41 end;
42 A := 1;
43 for A := 1 to 2 do WriteLn(A);
44 if A = 2 then begin
45 A := 3;
46 end;
47 while A < 1 do A := A + 1;
48 WriteLn(D);
49end.
Note: See TracBrowser for help on using the repository browser.