Autor Beitrag
Alstar
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 827



BeitragVerfasst: So 27.08.06 19:22 
Hallo Leute!

Ich suche nach einer Möglichkeit Compilermeldungen (Hints oder Warnings) zu erzeugen (mit benutzerdefiniertem Text). Ist soetwas möglich und wenn ja wie?

Alstar


Moderiert von user profile iconChristian S.: Topic aus Sonstiges (Delphi) verschoben am So 27.08.2006 um 22:05
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: So 27.08.06 20:58 
Ist möglich, aber nicht wirklich praktisch nutzbar, da man diese nicht bedingt Nutzen kann.

ausblenden Delphi-Quelltext
1:
2:
3:
4:
{$MESSAGE HINT 'Boo!'}
{$MESSAGE WARN 'Sieht nach Regen aus.'}
{$MESSAGE ERROR 'Nicht implementiert!'}
{$MESSAGE FATAL 'Bang. Tot!'}


Siehe Delphi-Hilfe unter $MESSAGE ;-)

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.