Message 1 of 15

Not applicable
10-26-2020
11:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
This one perplexes me.
If I run this, I get the expected result (12)
(setq value (+ 8 4))
However, if I do this:
(setq value (- 8 4))
I get this error message:
; error: bad function: 1
As a workaround I am using
( setq value (+ 8 (* 4 -1)) )
Any ideas?
thanks
Solved! Go to Solution.