# Aborting a Loop

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.

Aborting a Loop

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

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.

1

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

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

Seen: **541 times**

Last updated: **Mar 03 '12**

apply functions iteratively (modified re-post)

Trying to print and plot two parameters of multivariate functions

generation of certain matrices

Generation of all 3-index tensors with {-1,0,1} as entries.

Porting a finite-differences-matrix from Matlab to Numpy

How can I get Sage to go over all possible maps between two sets?

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.

Probably Ctrl+C?

That works kcrisman, thanks.

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

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