Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Prism Einige Fragen zu Delphi 8 (vordefinierten Symbole) (https://www.delphipraxis.net/20511-einige-fragen-zu-delphi-8-vordefinierten-symbole.html)

MaBuSE 19. Apr 2004 12:55


Einige Fragen zu Delphi 8 (vordefinierten Symbole)
 
Stichwörter: conditional symbol

Hallo.

Wo gibt es denn eine Liste der vordefinierten Symbole bei Delphi 8 ?

Delphi 8 => Kein Win32
Delphi 8 => VER160
Delphi 8 => CLR

Delphi-Quellcode:
{$IFDEF WIN32}
  Label1.Caption := 'Win32';
{$ELSE}
  Label1.Caption := 'kein Win32';
{$ENDIF}

{$IFDEF VER160}
  Label2.caption := 'VER160';
{$ELSE}
  Label2.caption := 'kein VER160';
{$ENDIF}

{$ifdef CLR} // The common language runtime symbol is only defined for the .NET platform.
  Label3.caption := 'CLR';
{$ELSE}
  Label3.caption := 'kein CLR';
{$ENDIF}


Alle Zeitangaben in WEZ +1. Es ist jetzt 14:20 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz