Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
General
»
Define definition
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
Sizes and SizeInt
by
marcov
[
Today
at 08:58:54 am]
WEBP, no DLLs
by
CM630
[
Today
at 08:52:43 am]
XLibre, finally and fortu...
by
Thaddy
[
Today
at 08:49:03 am]
IndySecOpenSSL is now ava...
by
LeP
[
Today
at 08:41:00 am]
Gitlab site history date.
by
Martin_fr
[
Today
at 08:35:38 am]
Dataset EnableControls/Di...
by
Sharfik
[
Today
at 07:40:21 am]
TVirtualDBTreeEx and upda...
by
Sharfik
[
Today
at 07:36:30 am]
made hooking newinstance ...
by
Thaddy
[
Today
at 06:56:17 am]
Interesting video
by
Curt Carpenter
[
Today
at 04:28:27 am]
Printer Info
by
rvk
[
Today
at 02:50:05 am]
how to add a ForEach call...
by
cdbc
[
Today
at 02:19:44 am]
I found an actual use for...
by
jamie
[June 09, 2026, 11:48:04 pm]
Lazarus Main and Gnome/Wa...
by
Jonax
[June 09, 2026, 09:02:10 pm]
[New Component] ExtTabCtr...
by
d7_2_laz
[June 09, 2026, 08:56:07 pm]
MacOS post compilation sc...
by
marcou
[June 09, 2026, 07:30:07 pm]
water filling simulation
by
Dzandaa
[June 09, 2026, 06:53:35 pm]
Pdf Viewer in Pascal
by
Tomxe
[June 09, 2026, 05:00:32 pm]
How can 'Canvas does not ...
by
J-G
[June 09, 2026, 03:05:01 pm]
AArch64. Fast method to c...
by
Thaddy
[June 09, 2026, 01:58:45 pm]
Strange Behaviour at Runt...
by
andrew Bubble
[June 09, 2026, 12:41:49 pm]
Can /my/ AI help me with ...
by
microxa
[June 09, 2026, 12:12:06 pm]
Knigo
by
CM630
[June 09, 2026, 12:05:31 pm]
P.I.S.S. a PlugIn-framewo...
by
cdbc
[June 09, 2026, 11:27:35 am]
[solved] rotate image pro...
by
speter
[June 09, 2026, 10:03:42 am]
TstringGrid read cell col...
by
Josh
[June 08, 2026, 11:05:23 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Define definition (Read 3703 times)
Imants
Full Member
Posts: 198
Define definition
«
on:
May 20, 2010, 10:46:41 am »
Where I can define my custon defines in Lazarus.
Like I want to create:
{$IFDEF SERVER}
....
{$ENDIF}
SERVER will be my custom define
Logged
theo
Global Moderator
Hero Member
Posts: 1946
Re: Define definition
«
Reply #1 on:
May 20, 2010, 11:23:31 am »
Guess ;-)
{$DEFINE SERVER}
Logged
Martin_fr
Administrator
Hero Member
Posts: 12400
Debugger - SynEdit - and more
Re: Define definition
«
Reply #2 on:
May 20, 2010, 11:24:33 am »
Project => Project options (or Compiler options in older Lazarus).
Page: "Compiler options" -> other
in Custom options field
-dSERVER
Logged
Ide Tools, Code completion and more
/
IDE cool features
/
Debugger Status
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
General
»
Define definition
TinyPortal
© 2005-2018