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
Extended ascii characters...
by
Ozz_Nixon
[
Today
at 05:11:01 am]
Artificial Intelligence a...
by
Retrofoxed
[
Today
at 01:12:49 am]
Lazarus in wayland QT6 Pl...
by
TheMouseAUS
[
Today
at 12:21:24 am]
Read/Parse PDB file to ge...
by
marcov
[May 14, 2026, 11:45:56 pm]
show me the parameters ce...
by
n7800
[May 14, 2026, 11:23:09 pm]
MP3 encoder
by
Tomxe
[May 14, 2026, 09:48:37 pm]
Scripts to generate ofici...
by
valdir.marcos
[May 14, 2026, 09:48:31 pm]
Gtk3 widgetset - call for...
by
PascalDragon
[May 14, 2026, 09:30:45 pm]
StringGrid: which is "cur...
by
valdir.marcos
[May 14, 2026, 09:27:05 pm]
FPC Unleashed (inline var...
by
VisualLab
[May 14, 2026, 09:17:03 pm]
Release ray4laz 6.0
by
MikeHart
[May 14, 2026, 09:07:32 pm]
Pure Pascal LZ4, LZ5 and ...
by
LemonParty
[May 14, 2026, 06:50:43 pm]
Pls support Double Comman...
by
Hansvb
[May 14, 2026, 03:30:31 pm]
Can I get the position an...
by
CM630
[May 14, 2026, 02:37:08 pm]
When is it useful for a p...
by
Hansvb
[May 14, 2026, 02:18:50 pm]
text color visible
by
Paolo
[May 14, 2026, 12:10:14 pm]
Transparent form
by
rvk
[May 14, 2026, 11:02:39 am]
Connecting to AzureSQL
by
CharlyTango
[May 14, 2026, 10:21:29 am]
Qt does not position form...
by
dbannon
[May 14, 2026, 09:42:44 am]
How to compare floating p...
by
Sander
[May 13, 2026, 11:12:02 pm]
TA Chart Axes visibility ...
by
Nicole
[May 13, 2026, 08:27:54 pm]
new feature for IDE
by
n7800
[May 13, 2026, 08:20:14 pm]
Can /my/ AI help me with ...
by
440bx
[May 13, 2026, 07:28:37 pm]
SynEdit auto End of line ...
by
eldonfsr
[May 13, 2026, 05:02:39 pm]
[beyond fixing]FPGMAP acc...
by
Thaddy
[May 13, 2026, 01:13:34 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Define definition (Read 3697 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: 12345
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