<div>1) </div><div>Is there some way to keep the console window open when a racket executable reports an error? (I'm a Windows user)<br></div><div><br></div><div>For this example, the racket console window closes before I can read the contract violation message:</div>
<div>#lang racket<br>(provide/contract [amount positive?])<br>(define amount 0)</div><div><br></div><div>This also doesn't stay open for me to read the error message as the contract violation is only displayed after I enter a character to continue.</div>
<div>#lang racket<br>(provide/contract [amount positive?])<br>(define amount 0)</div><div>(system "PAUSE")</div><div><br></div><div>2)</div><div>The reason I was doing this little test was that I thought from the Racket Guide documentation sections 7.1 and 7.1.1 which used this example, that provide/contract only did a contract check when the module was required, and I was checking this both in DrRacket and as an executable.</div>
<div><br></div><div>Thanks,</div><div>Harry Spier</div>