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
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
WIKI Timeout issues
Please read here if you have trouble connecting to the wiki
Recent
InstallAware 2025 Sources...
by
Thaddy
[
Today
at 06:09:10 pm]
VOLKSWAGEN из Кореи
by
BruceDirty
[
Today
at 05:37:30 pm]
Output buffer to audio.
by
Fred vS
[
Today
at 05:34:55 pm]
Linux - partly off topic...
by
Martin_fr
[
Today
at 05:23:49 pm]
Firebird 5.02. - the root...
by
rvk
[
Today
at 04:55:39 pm]
[ZeosDBO/TZQuery] Passing...
by
rdxdt
[
Today
at 04:54:10 pm]
How do I drag/move a fram...
by
Warfley
[
Today
at 04:00:05 pm]
TCombobox causes Access V...
by
Hansaplast
[
Today
at 03:47:15 pm]
Nothing but chaotic attem...
by
Nicole
[
Today
at 03:18:37 pm]
TimageList - Lazarus 4 wi...
by
Nicole
[
Today
at 03:10:55 pm]
Fast Canvas Library V1.0
by
TBMan
[
Today
at 02:38:56 pm]
I created a Hello World p...
by
paweld
[
Today
at 01:56:08 pm]
Reading Embeded PO Files
by
Bart
[
Today
at 01:34:25 pm]
32-Bit MS-DOS Application...
by
marcov
[
Today
at 01:23:34 pm]
functional IF
by
creaothceann
[
Today
at 01:09:43 pm]
What is your favorite "bu...
by
cdbc
[
Today
at 11:32:49 am]
TStringGrid.VisibleColCou...
by
wp
[
Today
at 10:57:24 am]
Gateway Timeouts
by
Marc
[
Today
at 09:58:47 am]
Animated toggle switch
by
cdbc
[
Today
at 08:41:11 am]
StringGrid - How to force...
by
CM630
[
Today
at 07:50:59 am]
Pasdoc and Lazarus
by
440bx
[
Today
at 05:10:23 am]
[AGREED] processing web f...
by
Leledumbo
[
Today
at 04:28:13 am]
Testers required for LAMW...
by
nicelybrewed
[
Today
at 12:38:21 am]
IDE/ New Plugin
by
anderbelluno
[
Today
at 12:19:10 am]
Compiler can't find a (fa...
by
cdbc
[June 12, 2025, 11:35:34 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Define definition (Read 3559 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: 1932
Re: Define definition
«
Reply #1 on:
May 20, 2010, 11:23:31 am »
Guess ;-)
{$DEFINE SERVER}
Logged
Martin_fr
Administrator
Hero Member
Posts: 11292
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
Bright theme for bright minds
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
General
»
Define definition
TinyPortal
© 2005-2018