[fpc-pascal] TFPGObjectList error

Tomas Hajny XHajT03 at hajny.biz
Mon Jul 2 18:31:45 CEST 2018


On Mon, July 2, 2018 08:16, Michael Van Canneyt wrote:
> On Sun, 1 Jul 2018, Jim Lee wrote:
>> On 07/01/18 12:28, Michael Van Canneyt wrote:
 .
 .
>> An auto-generated index of all identifiers used across all modules is
>> useful, if you know what you're looking for.  Say I was looking for
>> something like a Timer class - where do I start?  Would it be in the
>> rtl, the fcl, or somewhere else?  Would it be named Timer, TTimer, or
>> something else?  I can't find an index that has an entry for "timer" and
>> points to all the timer-related things.
>
> In the absence of a search mechanism:
>
> You would get a long way if go to the FCL page, press ctrl-f and type
> timer in the search box of your browser..
> The 4th hit on the page gives you fptimer, the unit that contains a
> timer.
>
> But most of the time when I search for something, I just enter google,
> type
> "free pascal timer". The third hit is the same as the one I mention above.
> You can't beat google for ease of use and accuracy.

Three more comments:

1) As you all probably know, you can explicitly ask Google to restrict the
search to a particular site - e.g. 'timer site:www.freepascal.org', or
'timer site:freepascal.org' (both without quotes; the latter will find the
references to discussion on the forum as well, whereas the first will show
the docs in the first place).

2) The text mode IDE (FP) has built-in indexing mechanism. If you install
the HTML docs into it (Help / Files...), type 'timer' in a source file and
press Ctrl-F1, it will find a reference to TFPTimerDriver.Timer with
references to various related information.

3) Since the docs sources are readable in any text editor, using something
like 'grep' (or some more sophisticated tool doing the same) may help to
find all references in the docs sources if you have a checkout of the docs
SVN repository (and you can obviously search across the unit sources
similarly as well).

Tomas





More information about the fpc-pascal mailing list