Ask Your Question

Aborting a Loop

asked 2012-03-02 14:24:53 -0600

anonymous user


Say I have a function which runs a while loop which always evaluates as true and thus keeps running, is there a way to abort this without just closing the terminal all together? Thanks.

edit retag flag offensive close merge delete


Probably Ctrl+C?

kcrisman gravatar imagekcrisman ( 2012-03-02 14:49:25 -0600 )edit

That works kcrisman, thanks.

Zaubertrank gravatar imageZaubertrank ( 2012-03-02 18:13:32 -0600 )edit

Can you post this as an answer, so the question is officially answered?

Jason Grout gravatar imageJason Grout ( 2012-03-02 19:45:47 -0600 )edit

I wasn't sure if that was what was being asked, that's all.

kcrisman gravatar imagekcrisman ( 2012-03-03 06:53:50 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2012-03-03 06:53:38 -0600

kcrisman gravatar image

To abort any Sage computation, press Control+C (that is, the Control/Ctrl key and C simultaneously).

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-03-02 14:24:53 -0600

Seen: 880 times

Last updated: Mar 03 '12