4
votes
Vote UpVote

DWScript conditional compilation directives

DelphiTools – Current SVN version of Delphi Web Script now supports the following directives (all new but include and filter): $I, $INCLUDE, $F, $FILTER: include specified file (which can be on disk or come through the virtual file system), the FILTER variants will include the file after filtering it. {$INCLUDE 'mysource.inc'} $DEFINE, $UNDEF: define and un-define a conditional. {$DEFINE SPECIAL_CODE} $IFDEF, $IFNDEF, $ELSE, $ENDIF: allow specifying conditionally compiled blocks. {$IFDEF SPECIAL_CODE} ...special code here... {$ELSE} ...not so special code here... {$ENDIF} $HINT, $WARNING, $ERROR: output ...
Favorite? Off-Topic? Eric @ 2010-11-09 09:37

Statistics

Visits: 311
Votes: 4
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Charles Ardour
Daniele Teti
knight_killer
Zzzzz
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)