Using Assert for Trace statements (was: [lazarus] Lazarus Pascal code)

Michael A. Hess mhess at
Wed May 3 08:23:53 EDT 2000

Marc Weustink wrote:
> Then we are (allmost) back at the beginning. You'll have to remove
> them after debugging ;-)

True you would have to remove any extra {$ASSERTIONS ON} statements but
you have to do that with the writelns. But in the Trace case the Asserts
are still there when you need them. The writelns need to be recoded

The point of using the Trace method was so that at the end of the day
when a snapshot of the source is made someone could download that source
and build the code without setting the compiler directive 'Trace' in the
make call and see what is working without all of the console output.

==== Programming my first best destiny! ====

Michael A. Hess      Miracle Concepts, Inc.
mhess at

More information about the Lazarus mailing list