Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
General
»
pre-processor symbol when FPC symbol is defined/used
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
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Amigo programming languag...
by
paxscript
[
Today
at 07:56:57 am]
2d "platform" game sugges...
by
Roland57
[
Today
at 07:52:39 am]
accessing array members i...
by
TRon
[
Today
at 06:47:26 am]
Knob Finger Spinner Graph...
by
SandyG
[
Today
at 06:45:22 am]
This is me back in Lazaru...
by
Weiss
[
Today
at 06:34:41 am]
How to DIY a filerec reco...
by
TYDQ
[
Today
at 05:59:45 am]
GTK3 still alpha
by
regs
[
Today
at 01:46:35 am]
looping direction control...
by
440bx
[April 19, 2025, 08:08:37 pm]
ppaslink.sh: line 9: 6262...
by
Thaddy
[April 19, 2025, 07:58:29 pm]
JSON parser handler
by
cdbc
[April 19, 2025, 07:01:19 pm]
[SOLVED] Converting psd f...
by
TRon
[April 19, 2025, 06:58:36 pm]
Avaiable instruction set
by
Thaddy
[April 19, 2025, 06:30:56 pm]
Best way to exchange data...
by
Hansvb
[April 19, 2025, 06:24:07 pm]
[Solved] How to call a cl...
by
nikel
[April 19, 2025, 05:09:22 pm]
Announcing TRURL RPN Engi...
by
jwdietrich
[April 19, 2025, 05:07:49 pm]
TRURL's segmitator availa...
by
jwdietrich
[April 19, 2025, 05:05:36 pm]
TRURL G released
by
jwdietrich
[April 19, 2025, 05:03:40 pm]
Animated Sine Flower
by
Thaddy
[April 19, 2025, 04:33:52 pm]
Compile Error on Assign f...
by
Thaddy
[April 19, 2025, 04:27:02 pm]
making types totally inco...
by
Thaddy
[April 19, 2025, 03:13:24 pm]
Why VirtualDBTreeEx not c...
by
wp
[April 19, 2025, 01:08:42 pm]
problem with easylazfreet...
by
ronhud
[April 19, 2025, 01:08:18 pm]
Forum slow for others as ...
by
Thaddy
[April 19, 2025, 11:25:43 am]
Errors linking the projec...
by
Thaddy
[April 19, 2025, 11:20:59 am]
in-memory machine code ge...
by
paule32
[April 19, 2025, 11:02:10 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: pre-processor symbol when FPC symbol is defined/used (Read 749 times)
paule32
Sr. Member
Posts: 383
pre-processor symbol when FPC symbol is defined/used
«
on:
April 16, 2024, 03:17:39 pm »
Hello
It is possible, to check a symbol that is used in the source code is available for the pre-processor ?
Or have I
$define
all symbols I want per Hand ?
Logged
MS-IIS - Internet Information Server, Apache, PHP/HTML/CSS, MinGW-32/64 MSys2 GNU C/C++ 13 (-stdc++20), FPC 3.2.2
A Friend in need, is a Friend indeed.
TRon
Hero Member
Posts: 4284
Re: pre-processor symbol when FPC symbol is defined/used
«
Reply #1 on:
April 16, 2024, 03:21:39 pm »
Documentation
can be helpful at times
Logged
Today is tomorrow's yesterday.
Thaddy
Hero Member
Posts: 16781
Ceterum censeo Trump esse delendam
Re: pre-processor symbol when FPC symbol is defined/used
«
Reply #2 on:
April 16, 2024, 03:22:40 pm »
Code: Pascal
[Select]
[+]
[-]
{$if declared(<symbol>)}
means what you want.
And, yes, you are a bit lazy in reading documentation.
«
Last Edit: April 16, 2024, 03:50:22 pm by Thaddy
»
Logged
Changing servers. thaddy.com may be temporary unreachable but restored when the domain name transfer is done.
paule32
Sr. Member
Posts: 383
Re: pre-processor symbol when FPC symbol is defined/used
«
Reply #3 on:
April 16, 2024, 05:11:35 pm »
Thank you. This works like a charm
Logged
MS-IIS - Internet Information Server, Apache, PHP/HTML/CSS, MinGW-32/64 MSys2 GNU C/C++ 13 (-stdc++20), FPC 3.2.2
A Friend in need, is a Friend indeed.
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
General
»
pre-processor symbol when FPC symbol is defined/used
TinyPortal
© 2005-2018