emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I want to add a package to GNU ELPA: infix-notation-calculator


From: Eric S Fraga
Subject: Re: I want to add a package to GNU ELPA: infix-notation-calculator
Date: Tue, 17 Aug 2021 16:54:09 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

On Tuesday, 17 Aug 2021 at 17:27, Christian Johansson wrote:
> No I tried with the example buffer contents, without *and I got those
> errors. However I got it working in emacs-lisp-mode buffer but it
> deleted my calculation and replaced it with the answer.. can that
> feature be turned off?

The general form for an Embedded Calc question is:

var := expression => 

where "var :=" (means assign the result to variable called "var") and
"=>" are optional.  The result will replace the expression if there is
no "=>" but will place the result after the => if it's there.

For instance:

y := sqrt(2) => 1.41421356237

and

x := y^2 => 1.99999999999

The info manual is very comprehensive.

-- 
Eric S Fraga via Emacs 28.0.50 & org 9.4.6 on Debian 11.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]