all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Defining an array in a let clause.
@ 2022-12-05 11:40 Heime
  2022-12-05 12:54 ` Eli Zaretskii
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Heime @ 2022-12-05 11:40 UTC (permalink / raw)
  To: Heime via Users list for the GNU Emacs text editor


How can I set up an array of five elements in a let clause.

  (let ( (ss (nth 0 (decode-time)))    ; seconds
         (mm (nth 1 (decode-time)))    ; minutes
         (hh (nth 2 (decode-time)))    ; hours
         (us (nth 2 (current-time)))   ; microsecond
         (ps (nth 3 (current-time)))   ; picosecond
         (lc (make-array '(5))) )







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

end of thread, other threads:[~2022-12-05 21:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-05 11:40 Defining an array in a let clause Heime
2022-12-05 12:54 ` Eli Zaretskii
2022-12-05 13:56   ` Heime
2022-12-05 14:42     ` Eli Zaretskii
2022-12-05 18:12       ` Eduardo Ochs
2022-12-05 19:42 ` Jean Louis
2022-12-05 20:01   ` Heime
2022-12-05 21:44 ` Stefan Monnier via Users list for the GNU Emacs text editor

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.