source: branches/Pascal Compiler 2/Example.pas

Last change on this file was 85, checked in by george, 14 years ago
  • Odstraněno: Staré pokusné projekty.
File size: 628 bytes
Line 
1program Text;
2
3{$A+}
4
5type
6 TItem = class
7
8
9 property Text: string read dd write ss index
100;
11 end;
12
13procedure TForm1.FormClose(Sender: TObject; var
14Action:
15TCloseAction);
16var
17 StringList: TStringList;
18 Texts: string;
19begin
20
21 with TStringList.Create do try
22 Assign(RichEdit1.Lines);
23 SaveToFile('Example.pas');
24
25 // dasdComment
26
27 //Here we are
28 ddd
29{dfsf}
30fdfs
31asm
32end;
33
34 { Comment 2 }
35 dddd
36
37
38 (* Ahoj
39
40 dd
41 *)
42
43 F := $11;
44 finally
45 Free;
46 end;
47end;
48
49asm
50 MOV AX, BX
51 RET
52end;
53
54{$A+}
55
56
57
58
59
60end.
61
Note: See TracBrowser for help on using the repository browser.