TPascalCodeGenerator.EnsureSection procedure
Ensure code is in specified section
Declaration
procedure EnsureSection(aSection: TCodeSection)Arguments
aSection | Section type to ensure |
Description
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.See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
