Ask Your Question
0

Aborting a Loop

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

anonymous user

Anonymous

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

Comments

Probably Ctrl+C?

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

That works kcrisman, thanks.

Zaubertrank gravatar imageZaubertrank ( 2012-03-02 18:13:32 -0500 )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 -0500 )edit

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

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

1 answer

Sort by ยป oldest newest most voted
1

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

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

Stats

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

Seen: 464 times

Last updated: Mar 03 '12