Recent

Author Topic: Freeing an Object with multiple References on it  (Read 2388 times)

Bart

  • Hero Member
  • *****
  • Posts: 5663
    • Bart en Mariska's Webstek
Re: Freeing an Object with multiple References on it
« Reply #15 on: April 15, 2022, 08:50:33 pm »
OK, but this is a general Pascal topic so doesn't assume availability of the LCL etc.

TComponent is defined in Classes unit, so it is plain vanilla fpc, not LCL.

Bart

MarkMLl

  • Hero Member
  • *****
  • Posts: 8525
Re: Freeing an Object with multiple References on it
« Reply #16 on: April 15, 2022, 09:25:03 pm »
In that case somebody needs to fix that it's not listed in https://www.freepascal.org/docs-html/current/rtl/index-8.html

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories


dsiders

  • Hero Member
  • *****
  • Posts: 1509
Re: Freeing an Object with multiple References on it
« Reply #18 on: April 15, 2022, 10:34:58 pm »
https://www.freepascal.org/docs-html/current/rtl/classes/tcomponent.html

I believe the point was that the "index" is incomplete. It has no properties, methods, or events for any of the classes. It is the Same for every Package or Unit index file in HTML format.

I'd use the CHMs... their indices are complete.

MarkMLl

  • Hero Member
  • *****
  • Posts: 8525
Re: Freeing an Object with multiple References on it
« Reply #19 on: April 15, 2022, 10:51:18 pm »
I believe the point was that the "index" is incomplete. It has no properties, methods, or events for any of the classes. It is the Same for every Package or Unit index file in HTML format.

Yet it's titled "Index of all identifiers in package 'rtl'", so should be a good starting point for a "what might do this" search (in the past I've tried to generate a permuted index- and failed dismally).

The most charitable thing I can say is that it's comprehensively incomplete :-)

https://forum.lazarus.freepascal.org/index.php/topic,59063.msg440389.html#msg440389 refers to a helper which is similarly unindexed.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

bytebites

  • Hero Member
  • *****
  • Posts: 776
Re: Freeing an Object with multiple References on it
« Reply #20 on: April 15, 2022, 10:56:50 pm »
TComponent is in "Index of all identifiers in package 'rtl'", from where I jumped to its specific  page

 

TinyPortal © 2005-2018