Is there a list of functions and which RTL libraries they belong to?
Mailing lists / fpc-pascal / 2008-12
RTL function list?
10 messages · 6 people · –
- FFrancisco Reyes 4
- VVincent Snijders 2
- FFelipe Monteiro de Carvalho 1
- JJulio C. Taborda 1
- MMarco van de Voort 1
- TTomas Hajny 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
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.
Is there a list of functions and which RTL libraries they belong to?
Go to www.freepascal.org
Select documentation
Scroll to the HTML docs
Select at Run-Time Library (RTL) units reference manual (with/without comments).
(I usually select without comments, but with could be a good idea too).
Select a unit.
Select Procedures and Functions
In our previous episode, Francisco Reyes said: The index of the documentation comes a…
Marco van de Voort wroteIn 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.
e.g. http://lazarus-ccr.sourceforge.net/fpcdoc/rtl/index.html
Vincent
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.
In our previous episode, Francisco Reyes said: The index of the documentation comes a…
Marco van de Voort wroteThe 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.
I was looking for something like.. AnsiCompareStr Sysutils DaySpan dateutils I…
Francisco Reyes wrote 20 lines
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
I was looking for something like.. AnsiCompareStr Sysutils DaySpan dateutils I…
Show quoted text 11 lines
Here there's a quick reference for the rtl:
http://digilander.libero.it/tizzziano/pdf/procs_01.pdf
I was looking for something like.. AnsiCompareStr Sysutils DaySpan dateutils I…
Francisco Reyes wrote 9 lines
Oops, wrong link, I meant:
http://lazarus-ccr.sourceforge.net/fpcdoc/rtl/index-8.html
Vincent
Vincent Snijders wroteOops, wrong link, I meant: http://lazarus-ccr.sourceforge.net/fpcdoc/rtl/index-8.html
Thanks. That will be very helpfull.
