Delphi compilation command (4): full table of compilation commands (unfinished)

Source: Internet
Author: User
Commands and default values Optional Value Range Note Example
{$ A8}
{$ Align8}
{$ A +}, {$ -},
{$ A1}, {$ A2}, {$ A4}, {$ A8 };
{$ Align on}, {$ align off },

{$ Align 1}, {$ align 2 },
{$ Align 4}, {$ align 8}
Local
{$ Apptype GUI} {$ Apptype GUI },
{$ Apptype console}
Global
{$ B -}
{$ Booleval off}
{$ B +}, {$ B -};
{$ Booleval on },
{$ Booleval off}
Local
{$ C ++}
{$ Assertions on}
{$ C ++ },{ $ C -};
{$ Assertions on },
{$ Assertions off}
Local
{$ D +}
{$ Debuginfo on}
{$ D +}, {$ D -}
{$ Debuginfo on },
{$ Debuginfo off}
Global
{$ Denypackageunit off} {$ Denypackageunit on }, Local
{$ Description 'text '} Global
{$ Designonly off} {$ Designonly on },
{$ Designonly off}
Local
{$ E -} {$ E +}, {$ e -}
{$ E extension}

{$ Extension}
{$ Externalsym identifier}
{$ F -} {$ F +}, {$ F -}
{$ Finitefloat on} {$ Finitefloat on },
{$ Finitefloat off}
Global
{$ G +}
{$ Importeddata on}
{$ G +}, {$ G -};
{$ Importeddata on },
{$ Importeddata off}
Local
{$ H +}
{$ Longstrings on}
{$ H +}, {$ H -}
{$ Longstrings on },
{$ Longstrings off}
Local
{$ Hints on} {$ Hints on },
{$ Hints off}
Local
{$ Hppemit 'string '}
{$ I filename}
{$ Include filename}
Local
{$ I +}
{$ Iochecks on}
{$ I +}, {$ I -};
{$ Iochecks on },
{$ Iochecks off}
Local
{$ Imagebase $00400000} {$ Imagebase number} Global
{$ Implicitbuild on}, {$ implicitbuild off} {$ Implicitbuild on} Global
{$ J -}
{$ Writeableconst off}
{$ J +}, {$ J -}
{$ Writeableconst on },
{$ Writeableconst off}
Local
{$ K -} {$ K +}, {$ K -}
{$ L +}
{$ Localsymbols on}
{$ L +}, {$ L -}
{$ Localsymbols on },
{$ Localsymbols off}
Global
{$ L filename}

{$ Link filename}
Local
$ Libprefix 'lib' or $ soprefix 'bpl'

$ Libsuffix''

$ Libversion''
$ Libprefix 'string'

$ Libsuffix 'string'

$ Libversion 'string'
Global
{$ M -}
{$ Typeinfo off}
{$ M +}, {$ M -}
{$ Typeinfo on },
{$ Typeinfo off}
Local
{$ M 16384,1048576} {$ M minstacksize, maxstacksize };

{$ Minstacksize number}
{$ Maxstacksize number}
{$ M 1048576} {$ M reservedbytes}

{$ Resourcereserve reservedbytes}
Global Linux
{$ Message hint | warn | error | fatal 'text string '} Local
{$ Methodinfo off} {$ Methodinfo on },
{$ Methodinfo off}
{$ N +} {$ N +}, {$ n -}
{$ Nodefine identifier}
{$ Noinclude filename}
{$ O +}
{$ Optimization on}
{$ O +}, {$ o -};
{$ Optimization on },
{$ Optimization off}
Local
{$ Objexportall off} {$ Objexportall on },
{$ Objexportall off}
Global
{$ P +}
{$ Openstrings on}
{$ P +}, {$ p -}
{$ Openstrings on },
{$ Openstrings off}
Local
{$ Pointermath off} {$ Pointermath on },
{$ Pointermath off}
Local
{$ Q -}
{$ Overflowchecks off}
{$ Q +}, {$ q -}
{$ Overflowchecks on },
{$ Overflowchecks off}
Local
{$ R filename}

{$ Resource filename}

{$ R *. xxx}

{$ R filename. Res filename. RC}
{$ R -}
{$ Rangechecks off}
{$ R +}, {$ R -}
{$ Rangechecks on },
{$ Rangechecks off}
Local
{$ Realcompatibility off} {$ Realcompatibility on },
{$ Realcompatibility off}
Local
{$ Runonly off} {$ Runonly on },
{$ Runonly off}
Local
{$ S -} {$ S +}, {$ S -}
{$ Setpeflags <integer expression>}

{$ Setjavastflags <integer expression>}
Local
{$ T -}
{$ Typedaddress off}
{$ T +}, {$ T -}
{$ Typedaddress on },
{$ Typedaddress off}
Global
{$ U -}
{$ Safedivide off}
{$ U +}, {$ U -}
{$ Safedivide on },
{$ Safedivide off}
Local
{$ V +}
{$ Varstringchecks on}
{$ V +}, {$ V -}
{$ Varstringchecks on },
{$ Varstringchecks off}
Local
{$ W -}
{$ Stackframes off}
{$ W +}, {$ w -}
{$ Stackframes on },
{$ Stackframes off}
Local
{$ Warn on} {$ Warn identifier on },
{$ Warn identifier off}
Local
{$ Warnings on} {$ Warnings on },
{$ Warnings off}
Local
{$ Weakpackageunit off} {$ Weakpackageunit on },
{$ Weakpackageunit off}
Local
{$ X +}
{$ Extendedsyntax on}
{$ X +}, {$ X -};
{$ Extendedsyntax on },
{$ Extendedsyntax off}
Global
{$ YD}
{$ Definitioninfo on}
{$ Y +}, {$ Y-}, {$ YD };
{$ Referenceinfo on },
{$ Referenceinfo off };

{Definitioninfo on },
{Definitioninfo off}
Global
{$ Z1}
{$ Minenumsize 1}
{$ Z1}, {$ Z2}, {$ Z4 };
{$ Minenumsize 1 },
{$ Minenumsize 2 },
{$ Minenumsize 4}
Local
$ Define
$ UNDEF

$ Ifdef
$ Else
$ Endif

{$ If defined (...)}

{$ Ifend}

{$ If not defined (...)}

{$ Ifend}

{$ If defined (...) or defined (...)}

{$ Ifend}

{$ If defined (...) and defined (...)}

{$ Ifend}

{$ If system. Const> = number}

{$ Ifend}

{$ Ifopt ...}

{$ Else}
{$ Endif}

{$ Region 'text'}... {$ endregion}

Delphi 2009 and 2010 reduce the file size:

 
// Add {$ weaklinkrtti on} {$ rtti explicit methods ([]) properties ([]) fields ([])} to the DPR file.

  

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.