unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Setting variables, argumunts in defun
@ 2021-02-13 16:14 wael-zwaiter
  2021-02-13 16:33 ` Christopher Dimech
  2021-02-13 19:15 ` Jean Louis
  0 siblings, 2 replies; 11+ messages in thread
From: wael-zwaiter @ 2021-02-13 16:14 UTC (permalink / raw)
  To: Help Gnu Emacs

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) )






^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-02-13 22:59 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-13 16:14 Setting variables, argumunts in defun wael-zwaiter
2021-02-13 16:33 ` Christopher Dimech
2021-02-13 16:36   ` wael-zwaiter
2021-02-13 16:42   ` Philip Kaludercic
2021-02-13 16:52     ` wael-zwaiter
2021-02-13 16:57       ` tomas
2021-02-13 17:23         ` wael-zwaiter
2021-02-13 22:59           ` Michael Heerdegen
2021-02-13 17:08       ` Philip Kaludercic
2021-02-13 17:09         ` Philip Kaludercic
2021-02-13 19:15 ` Jean Louis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).