Unit 'pascodegen' Package
[Overview][Constants][Types][Classes][Index] [#fcl]

TPascalCodeGenerator.PushSection

Push section onto section stack

Declaration

Source position: pascodegen.pp line 81

public procedure TPascalCodeGenerator.PushSection(

  ASection: TCodeSection = csUnknown

);

Arguments

ASection

  

Section type to push

Description

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

See also

TPascalCodeGenerator.PopSection

  

Pop section from section stack

TCodeSection

  

Pascal code section types


Documentation generated on: Dec 19 2025