Skip to content

TPascalCodeGenerator.PushSection

Push section onto section stack

Declaration

Source position: pascodegen.pp line 81

public 
procedure TPascalCodeGenerator.PushSection
                                          (ASection: TCodeSection=csUnknown);

Description

PushSection pushes a section onto the internal section stack. This allows nesting of sections and later restoration using TPascalCodeGenerator.PopSection.

See also

Name Description
TPascalCodeGenerator.PopSection Pop section from section stack
TCodeSection Pascal code section types