Is it possible to add "assert" as a keyword in Delphi?
Posted
by stanleyxu2005
on Stack Overflow
See other posts from Stack Overflow
or by stanleyxu2005
Published on 2010-04-02T17:17:11Z
Indexed on
2010/04/02
18:03 UTC
Read the original article
Hit count: 420
I write couple of "assert(...)" in code, to make sure that pre- and post-conditions should be satisfied. We can tell the Delphi compiler, whether to compile with assertions in a debug version and without assertions in a release version.
I would like to know, if it is possible, to highlight "assert" like other Pascal keywords?
© Stack Overflow or respective owner