TCodeSection¶
Pascal code section types
Declaration¶
Source position: pascodegen.pp line 39
type
TCodeSection = (csUnknown,csConst,csType,csVar,csResourcestring,
csDeclaration)Values¶
| Value | Description |
|---|---|
| csUnknown | Unknown section type |
| csConst | Constants section |
| csType | Types section |
| csVar | Variables section |
| csResourcestring | Resource strings section |
| csDeclaration | General declarations section |
Description¶
TCodeSection defines the different types of sections that can appear in Pascal code.
- csUnknown
- Unknown or unspecified section type
- csConst
- Const section for constants
- csType
- Type section for type definitions
- csVar
- Var section for variables
- csResourcestring
- Resourcestring section for localizable strings
- csDeclaration
- General declaration section
See also¶
| Name | Description |
|---|---|
| TPascalCodeGenerator.EnsureSection | Ensure code is in specified section |
| TPascalCodeGenerator.CurrentSection | Current code section type |