HeiniKlum

20 Reputation

7 Badges

15 years, 209 days

MaplePrimes Activity


These are replies submitted by HeiniKlum

@Kitonum 

The first line of your code is what I was looking for. Thanks.

Nevertheless, the title I have chosen for this thread is misleading and the part with the potential bug is definitely wrong. Unfortunately, I am not able to modify it.

@rlopez 

As far as i understand try/catch only handles situations whithin a procedure. But even if I would restructure my code to check for an error or other case within a procedure, how would I then force the program to stop execution of any code that follows, not only within that procedure but the entire rest of the worksheet.

And to be more precise, with stopping/exiting I mean really exiting the execution and not wait/pause or anything like that, with the process still being busy.

 

Is there a way to achieve the same for CWS? None of the above examples worked for me.

Page 1 of 1