From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Evaluating simple inline expressions in org-mode Date: Thu, 4 Feb 2016 08:38:27 +0000 Message-ID: <87vb64j2f0.fsf@delle7240.chemeng.ucl.ac.uk> References: <87twlpwzbw.fsf@delle7240.chemeng.ucl.ac.uk> <87wpqlyn5f.fsf@duenenhof-wilhelm.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42638) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRFmt-0008E8-TM for emacs-orgmode@gnu.org; Thu, 04 Feb 2016 04:01:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRFmp-00068f-Us for emacs-orgmode@gnu.org; Thu, 04 Feb 2016 04:01:15 -0500 Received: from mail-am1on0115.outbound.protection.outlook.com ([157.56.112.115]:24192 helo=emea01-am1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRFmp-00068X-7T for emacs-orgmode@gnu.org; Thu, 04 Feb 2016 04:01:11 -0500 In-Reply-To: <87wpqlyn5f.fsf@duenenhof-wilhelm.de> (H. Dieter Wilhelm's message of "Thu, 4 Feb 2016 08:01:32 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "H. Dieter Wilhelm" Cc: emacs-orgmode@gnu.org On Thursday, 4 Feb 2016 at 08:01, H. Dieter Wilhelm wrote: > It must be src_calc{2*pi} though. Indeed. I mistyped. >> works as well. I'm not sure how you define variables in calc however... > > You could write something like src_calc[:var x=3.41]{2*x} :-) Yes but can you save a variable for use in a later expression? -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.90.1, Org release_8.3.3-535-g7213aa