[fpc-pascal] Please someone explain this to me
Marc Santhoff
M.Santhoff at web.de
Wed Feb 10 09:39:56 CET 2016
On Di, 2016-02-09 at 18:46 -0500, Anthony Walter wrote:
> Ralf,
>
> A couple of points.
>
> 1) As I explained there are times when I, and probably other people as
> well, need to find the declaration of a function, constant, record, or some
> other identifier. We may not know if the function even exists or has been
> declared in Pascal, for example when attempting to use specific APIs
> dependent on some external library. In those case my approach is often to
> search (grep) files under either my lazarus or fpc folder. If there is some
> better way please to find these identifiers, which are not in the help
> systems, please let me know.
If you are using Lazarus:
- put the cursor inside the indentifier
- use right mouse key
- klick "find declaration of ..." or use key combination ALT-UpArrow
When on the console, I don't know. Searching would have to be done with
the OS and target cpu in mind, because in many cases that's what
switches included files. I did not try yet.
There hsa been a thread on the lazaurs list lately, handling the topic
of "navigating huge files" or similar. There is a lot of info about what
lazarus can do for you regarding search and navigation.
--
Marc Santhoff <M.Santhoff at web.de>
More information about the fpc-pascal
mailing list