[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [calc] calc-command-flags not even defvarr'ed..
From: |
Colin Walters |
Subject: |
Re: [calc] calc-command-flags not even defvarr'ed.. |
Date: |
Mon, 22 Oct 2001 00:54:31 -0400 |
User-agent: |
Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.106 (powerpc-debian-linux-gnu) |
deego@glue.umd.edu (Deepak Goel) writes:
> in my calc-version
> "2.02f"
>
> (math-pow 2 1000)
>
> will refuse to work (even if i ensure all calc files are loaded),
> unless i (defvar calc-command-flags nil). This variable should
> somewhere be defvarr'ed in the package..
calc-command-flags appears to be used to communicate information
between the library functions and its callers. I suggest that if you
use the calc math functions directly, you just bind
`calc-command-flags' yourself, like:
(let ((calc-command-flags nil))
(setq myresult (math-pow 2 1000)))
It would be nice if there was a better interface, though...