Ensure code is in specified section
Source position: pascodegen.pp line 80
public procedure TPascalCodeGenerator.EnsureSection( |
aSection: TCodeSection |
); |
aSection |
|
Section type to ensure |
EnsureSection ensures that the current code section is set to the specified section type. If the current section is different from the requested section, it outputs the appropriate section keyword (Const, Type, Var, Resourcestring) and updates the current section.
|
Pascal code section types |
|
|
Current code section type |