Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Maybe there's already a way to do this, but it seems to me that it would be useful to be able to refer to the answer on a previous line, like the Ans key on a TI calculator. So:

2 + 3 (=4)

Ans * 2 (=8)



x = 2 + 3

x * 2




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: