unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / 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

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