# 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: **646 times**

Last updated: **Mar 03 '12**

Trying to print and plot two parameters of multivariate functions

Loop is not finishing execution

Is it possible to speed up loop iteration in Sage?

generation of certain matrices

Porting a finite-differences-matrix from Matlab to Numpy

apply functions iteratively (modified re-post)

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.