$HPPEMIT

Top  Previous  Next

Pretranslated C# code > Preparing Delphi code > Delphi directives to support C++Builder > $HPPEMIT

 

The HPPEMIT directive adds a specified symbol to the C++ header file.

HPPEMIT directives are output into the "user supplied" section at the top of the header file in the order in which they appear in the Pascal file.

The HPPEMIT directive accepts an optional END directive that instructs the compiler to emit the string at the bottom of the header file. Otherwise, the string is emitted at the top of the file.

 

Syntax:        

 

{$HPPEMIT string}

 

Example:

 

{$HPPEMIT 'Symbol goes to top of file' }.

{$HPPEMIT END 'Symbol goes to bottom of file'} 

 

 



This page belongs to the Delphi2C# Documentation

Delphi2C# home  Content