10 lines
745 B
Markdown
10 lines
745 B
Markdown
|
|
In Delphi (Pascal) there are prefixes for each class and variable declaration this is useful to know where they are from
|
||
|
|
|
||
|
|
| Prefix | Meaning | Example | Context |
|
||
|
|
| ------ | --------- | ------------------------- | ----------------------------------- |
|
||
|
|
| **T** | Type | `TButton`, `TStringList` | Class, Record or Enum definitions |
|
||
|
|
| **L** | Local | `LCount`, `LTempResult` | Variables defined inside a function |
|
||
|
|
| **F** | Field | `FName`, `FID` | Private variables inside a class |
|
||
|
|
| **A** | Argument | `AName`, `AValue` | Parameters passed into a function |
|
||
|
|
| **I** | Interface | `IUnkown`, `ISeralizable` | Interface definitions |
|