Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Free Pascal
»
General
(Moderators:
FPK
,
Tomas Hajny
) »
List of FPC intrinsic
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
« previous
next »
Print
Pages: [
1
]
Author
Topic: List of FPC intrinsic (Read 1308 times)
Okoba
Hero Member
Posts: 660
List of FPC intrinsic
«
on:
October 01, 2023, 05:35:14 pm »
Hello,
Where can I find a list of FPC intrinsic?
I know a couple like SizeOf or GetTypeKind but what are the others?
Logged
jamie
Hero Member
Posts: 7903
Re: List of FPC intrinsic
«
Reply #1 on:
October 01, 2023, 06:18:54 pm »
Be careful what you ask for...
Open the help (RTL), third tab, type in "BITS" hit enter.
that's a start on intrinsic low-level stuff.
Logged
The only true wisdom is knowing you know nothing
Okoba
Hero Member
Posts: 660
Re: List of FPC intrinsic
«
Reply #2 on:
October 01, 2023, 06:26:57 pm »
What do you mean by that? I searched "BITS" in "(RTL) Runtime Library" and the result is "TBits.Bits" documentation. It seems that is not the what I want.
Logged
Kays
Hero Member
Posts: 632
Whasup!?
Re: List of FPC intrinsic
«
Reply #3 on:
October 01, 2023, 08:28:06 pm »
Quote from: Okoba on October 01, 2023, 05:35:14 pm
[…] Where can I find a list of FPC intrinsic? […]
There is no such compiled list. You can check out the
FPC source code
though. Furthermore
look for
internproc
in the RTL source code
.
«
Last Edit: October 01, 2023, 08:30:10 pm by Kays
»
Logged
Yours Sincerely
Kai Burghardt
simone
Hero Member
Posts: 706
Re: List of FPC intrinsic
«
Reply #4 on:
October 01, 2023, 08:57:48 pm »
You can take a look at the
system.fpd
file, which contains a list of fictious declarations for compiler intrinsics, used by fpdoc. Among these you can find those related to
SizeOf
and
GetTypeKind
The file has the following path in my machine:
\lazarus\fpc\3.2.2\source\rtl\inc.
Alternatively, look here:
https://gitlab.com/freepascal.org/fpc/source/-/blob/main/rtl/inc/system.fpd
«
Last Edit: October 01, 2023, 09:15:09 pm by simone
»
Logged
Microsoft Windows 10/11 64 bit - Lazarus 4.8/4.6 FPC 3.2.2 x86_64-win64-win32/win64
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Free Pascal
»
General
(Moderators:
FPK
,
Tomas Hajny
) »
List of FPC intrinsic
TinyPortal
© 2005-2018