A variável especial a
contém o resultado da última resposta
-> 1 + 2
= 3
-> a + 5
= 8
->
No arquivo wcalc
README
Some special notes about variables - two things are reserved:
- a - this variable represents the last answer, and may be used in expressions.
- q - this variable is reserved in the command-line version (it means quit), and cannot be used in expressions.
Also, built-in constants cannot be re-defined, although they are treated as variables in all other cases.