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
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Delphi Magazine issues 1-...
by
valdir.marcos
[
Today
at 06:08:16 am]
BAScript - Simple scripti...
by
valdir.marcos
[
Today
at 05:48:03 am]
We are starting to use La...
by
valdir.marcos
[
Today
at 04:50:02 am]
X11Libre, finally and for...
by
Graeme
[
Today
at 02:21:31 am]
[AGGPas] Usage of scale m...
by
Graeme
[
Today
at 02:04:23 am]
Frustrating Error When us...
by
jamie
[
Today
at 01:00:25 am]
Status of FPC 3.4.0 or FP...
by
dbannon
[
Today
at 12:43:03 am]
; after then
by
dseligo
[
Today
at 12:40:09 am]
AI to port DBDesigner For...
by
schuler
[
Today
at 12:29:07 am]
Reporting a Bug? in Strin...
by
wp
[February 15, 2026, 11:54:41 pm]
LazSerial not found
by
dseligo
[February 15, 2026, 11:48:29 pm]
How to determine the unkn...
by
Roland57
[February 15, 2026, 07:47:42 pm]
Taking 'Common' parts out...
by
J-G
[February 15, 2026, 07:01:17 pm]
[ANN] fpGUI Toolkit v2.0....
by
Graeme
[February 15, 2026, 06:33:58 pm]
New front end for solitai...
by
TBMan
[February 15, 2026, 06:23:47 pm]
it2play - IT/S3M module r...
by
Lulu
[February 15, 2026, 06:09:46 pm]
Duplicated icon in the Wi...
by
CM630
[February 15, 2026, 04:28:20 pm]
[SOLVED] LazReport
by
1HuntnMan
[February 15, 2026, 03:50:38 pm]
QuestionDlg does strange ...
by
SA.Blackmon
[February 15, 2026, 03:41:21 pm]
[ANN] PasBuild 1.3.0 rele...
by
cdbc
[February 15, 2026, 02:34:04 pm]
[Solved] Help needed comp...
by
broutelichen
[February 15, 2026, 01:51:53 pm]
SoundTracker Player Libra...
by
Gigatron
[February 15, 2026, 01:35:38 pm]
How to start LAMW emulato...
by
RaketeMike
[February 15, 2026, 12:16:26 pm]
lazarus information aand ...
by
LeP
[February 15, 2026, 11:19:12 am]
Free Pascal for a small e...
by
dbannon
[February 15, 2026, 10:36:13 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: pre-processor symbol when FPC symbol is defined/used (Read 866 times)
paule32
Hero Member
Posts: 645
One in all. But, not all in one.
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: 4377
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: 18729
To Europe: simply sell USA bonds: dollar collapses
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
If Europe sells their USA bonds the USD will collapse. Europe can affort that given average state debts. The USA can't affort that. Just an advice...
paule32
Hero Member
Posts: 645
One in all. But, not all in one.
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