Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2008-12

RTL function list?

10 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Francisco Reyes

Is there a list of functions and which RTL libraries they belong to?

Marco van de Voort
to Francisco Reyes

In our previous episode, Francisco Reyes said:

Is there a list of functions and which RTL libraries they belong to?

The index of the documentation comes a long way.

Francisco Reyes
to Vincent Snijders
Vincent Snijders wrote

I was looking for something like..

AnsiCompareStr Sysutils
DaySpan dateutils

I have been using the PDF and searching for a function as needed. Example.. when I was looking at fstat the example used some functions, then I wanted to see details for those functions. Ended up using a find in the entire RTL because could not find it.. thought they would be in dateutils, but ended up they were in sysutils.

Would it be worth to make such a list?
Mostly for newbies like myself..

Also, what are the numbers that appear in parenthesis? In the PDF I often see the name of a function and then a number.

Francisco Reyes
to Marco van de Voort: In our previous episode, Francisco Reyes said: The index of the documentation comes a…
Marco van de Voort wrote
The index of the documentation comes a long way.

I have no idea what I was looking at, but went back to the rtl.pdf and I see the index at the beginning with each function. Maybe was looking at the online HTML. The beginning of the PDF is certainly along the lines of what I was looking for, thanks.

It seems the docs get built through some automated mechanism, so it may not hurt if what I asked for could be done (if it is not difficult to implement). On the index of the PDF to list both page and unit. If it is a lot of work then it's not worth it.

Overall I am very happy with the rtl documentation, specially the examples. It makes it so much easier even for a newbie like myself to get something going by copying/pasting the sample code and modifying as needed.

Tomas Hajny
to Francisco Reyes: I was looking for something like.. AnsiCompareStr Sysutils DaySpan dateutils I…
Francisco Reyes wrote 20 lines
Vincent Snijders writes: > e.g. http://lazarus-ccr.sourceforge.net/fpcdoc/rtl/index.html I was looking for something like.. AnsiCompareStr Sysutils DaySpan dateutils I have been using the PDF and searching for a function as needed. Example.. when I was looking at fstat the example used some functions, then I wanted to see details for those functions. Ended up using a find in the entire RTL because could not find it.. thought they would be in dateutils, but ended up they were in sysutils. Would it be worth to make such a list? Mostly for newbies like myself..

Well, our Wiki contains a page with some general information regarding which functionality may be found in which unit - see http://wiki.freepascal.org/Unit_categorization. It isn't complete, but it should serve for basic orientation for beginners. Admittedly, this isn't equal to what you were asking for; I don't think that such an index exists, although I can imagine that generating it shouldn't be difficult.

Tomas