Unit 'fpmkunit' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TTarget.SubTargetAllowed

Checks if a subtarget is allowed for this target

Declaration

Source position: fpmkunit.pp line 778

public function TTarget.SubTargetAllowed(

  const aSubTarget: string

):Boolean;

Arguments

aSubTarget

  

Subtarget name to check

Function result

True if subtarget is allowed, False otherwise

Description

Returns True if the specified subtarget name is allowed for this target type.

Different target types support different subtargets (e.g., units vs programs).


Documentation generated on: Dec 15 2025