help-gnu-emacs
[Top][All Lists]
Advanced

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

Setting variables, argumunts in defun


From: wael-zwaiter
Subject: Setting variables, argumunts in defun
Date: Sat, 13 Feb 2021 17:14:57 +0100

I would like to set up devi and scal by selecting either one or
the other.  Wow can I do this in elisp.  Should I pass parameters
to the function.  Can one pass a string, then check its contents?

(defun deviscal ()

  (setq devi 0.18)
  (setq scal 0.2)

  (setq devi 0.0)
  (setq scal 1.0) )






reply via email to

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