----boundary-LibPST-iamunique-1700375105_-_-
Content-type: text/plain
At 12:48 AM 6/11/2006, Chris Burrows wrote:
>There are several compile-time options available in Blackbox but I am
>left to wonder why I have not been able to find any documentation for
>them. For example, to disable ASSERT statements
>
> DevCompiler.CompileOpt('!')
The documentation says,
"The compiler has no compiler options. Safety-critical runtime checks are always performed...."
However, one of the OMS people has previously reported on this list that subscript range checks and other runtime checks CAN be disabled by an option. Does anybody have this information?
For possible future use, it might be very useful to know if there are indeed compiler options, and how to use them. For large, computation-intensive programs, there may very well be times when it is necessary to disable run-time checking, for the sake of speed.
With regard to assertions, I don't know what to do about ASSERTion failures in a software product, but I can tell you what actually happens with a freestanding application: the user receives a message, "We're sorry, but the application has encountered an error and needs to close." It sounds very much like an embarrassing memory violation -- the very thing we claim is almost impossible.
Rex Couture
--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy
----boundary-LibPST-iamunique-1700375105_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIEF0IDEyOjQ4IEFNIDYvMTEvMjAwNiwgQ2hyaXMg
QnVycm93cyB3cm90ZTpccGFyDQo+VGhlcmUgYXJlIHNldmVyYWwgY29tcGlsZS10aW1lIG9wdGlv
bnMgYXZhaWxhYmxlIGluIEJsYWNrYm94I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