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

TDictionary.RemoveItem

Removes a variable or function from the dictionary

Declaration

Source position: fpmkunit.pp line 582

public procedure TDictionary.RemoveItem(

  const AName: string

);

Arguments

AName

  

Name of dictionary item to remove

Description

RemoveItem removes the specified variable or function callback from the dictionary.

After removal, attempts to resolve the removed item name will fail with an exception.

This method is useful for dynamically modifying the available substitution variables during build processes.


Documentation generated on: Dec 15 2025