First time here? Check out the FAQ!

Ask Your Question
0

Aborting a Loop

asked 12 years ago

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.

Preview: (hide)

Comments

Probably Ctrl+C?

kcrisman gravatar imagekcrisman ( 12 years ago )

That works kcrisman, thanks.

Zaubertrank gravatar imageZaubertrank ( 12 years ago )

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

Jason Grout gravatar imageJason Grout ( 12 years ago )

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

kcrisman gravatar imagekcrisman ( 12 years ago )

1 Answer

Sort by » oldest newest most voted
1

answered 12 years ago

kcrisman gravatar image

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

Preview: (hide)
link

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: 12 years ago

Seen: 1,194 times

Last updated: Mar 03 '12