mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 00:40:18 +02:00
codetools: more complete block exmaples
git-svn-id: trunk@21333 -
This commit is contained in:
parent
01e56ae6fa
commit
5ca1c74263
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -165,6 +165,7 @@ components/codetools/examples/testscompleteblock/beginwithoutindent1.inc svneol=
|
||||
components/codetools/examples/testscompleteblock/casecolon1.inc svneol=native#text/plain
|
||||
components/codetools/examples/testscompleteblock/caseelseend1.inc svneol=native#text/plain
|
||||
components/codetools/examples/testscompleteblock/caseend1.inc svneol=native#text/plain
|
||||
components/codetools/examples/testscompleteblock/class1.inc svneol=native#text/plain
|
||||
components/codetools/examples/testscompleteblock/ifbegin1.inc svneol=native#text/plain
|
||||
components/codetools/examples/testscompleteblock/ifbeginelse1.inc svneol=native#text/plain
|
||||
components/codetools/examples/testscompleteblock/procedurebegin1.inc svneol=native#text/plain
|
||||
|
@ -0,0 +1,9 @@
|
||||
{%MainUnit unit1.pas}
|
||||
type
|
||||
TMyClass = class
|
||||
|
||||
|
||||
procedure Do1;
|
||||
begin
|
||||
end;
|
||||
|
@ -1,8 +1,12 @@
|
||||
{%MainUnit unit1.pas}
|
||||
type
|
||||
TMyRecord = record
|
||||
TMyRecord1 = record
|
||||
|
||||
PMyRecord = ^TMyRecord;
|
||||
PMyRecord1 = ^TMyRecord1;
|
||||
|
||||
TMyRecord2 = packed record
|
||||
|
||||
TMyRecord3 = bitpacked record
|
||||
|
||||
procedure Do1;
|
||||
begin
|
||||
|
@ -10,6 +10,7 @@ uses
|
||||
implementation
|
||||
|
||||
{$IFDEF record} {$I record1.inc} {$ENDIF}
|
||||
{$IFDEF class} {$I class1.inc} {$ENDIF}
|
||||
|
||||
{$IFDEF procedurebegin} {$I procedurebegin1.inc} {$ENDIF}
|
||||
{$IFDEF procedurebeginend} {$I procedurebeginend1.inc} {$ENDIF}
|
||||
|
Loading…
Reference in New Issue
Block a user