Hi John,
>Assertions are for developers only. What good does it do for an end-user to see a dialog that displays as a result of a failed assertion. Craig is 100% correct here in that when distributing your application - Set Assert should be off.
May I disagree here with you? ;-) ASSERT is ignored by the runtime library, since there's no debugger that can be shown up. So there's no real reason to handle SET ASSERT differenly when distributing your application. Nevertheless, I'd remove them entirely when building the distribution application, either via
#DEFINE ASSERT NOTE
or by surrounding them with an #IF...#ENDIF statement.
Christof
--
Christof