How to Insert Compiler Definitions Into Your Sources

There are various ways to include compiler definitions into your source code. One of them is editing your project’s options and another can be including a definition file (*.inc). Although both of these make sense and should be used imagine a 1 file source. Why would you even bother with editing it’s options or including a second file for something that can be in the file already. This can save a lot of time when distributing the code.
Instead of us editing the files manually Delphi and Kylix have a shortcut that includes the compiler definition for us. THe shortcut is Ctrl + O + O (twice ) with Ctrl down).

Tags: , , , , , ,

No Comments Yet

You can be the first to comment!

Leave a comment

OpenID Login

Standard Login