On Wed, 25 Sep 2013, kcrisman wrote:

This is pretty vague, but ... assuming that you are using the expression
like

a = 2
print a
print a+1
print a+2
print a+3

and a should have been 4, then yes, you would have to evaluate them all.

Sage uses readline, like bash. In bash I can use ! -command:

[jm58660@localhost ~]$ echo a
a
[jm58660@localhost ~]$ echo b
b
[jm58660@localhost ~]$ echo c
c
[jm58660@localhost ~]$ !-3 ; !-2 ; !-1
echo a ; echo b ; echo c
a
b
c

This does not work in Sage (which is good for most of us, I think...). However, how to enable it? I.e. what in sage is same than set -H in bash?

--
Jori Mäntysalo

--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to