Question: Command line equivalent for the "interrupt execution" button

Basically i need incorparate a bit of code that tells maple to "give up" once the amount of computation time has reached a certain amount, because when i started using maple i got into this habit of just waiting for the output no matter what, and it has taken me a bit of time to realize that sane people are not happy to leave a dozen worksheets evaluating executions overnight while they sleep, and also this of course is related to the habits formed that result in my code often being sluggish.

I am guessing that i would just enclose the code intended to be executed in a "while" loop of some sort and will probably work out how to do it on my own, but i think because of the importance of this particular "behavioral habit" in the development of people younger than me using maple, i should post a question about it.

Please Wait...