.calc.answer(5).calc.answer - Last successful calc answer
.calc.result - Last calc calculation result
.calc.result number
.calc.result string
.calc.answer is used to store the answer of the last successful calculation made by calc(3). When defined the value will always be a number, but its format could be floating point, or a binary, octal, decimal or hex integer depending on the output format requested in the sum.
The "Ans" (Answer) in the next calculation is substituted with this value.
.calc.result is used to store the result of the last calculation made by calc(3). This can be the same as .calc.answer, a hybrid form of "<floating-point> (<integer>)" values when floating point and integer maths produce different answers and the required format is not specified, or, if there is an error in the calculation string a MicroEmacs list with the first element being the character offset to the point of error and the second element is an error message.
(c) Copyright JASSPA 2025
Last Modified: 2022/06/12
Generated On: 2025/09/29