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

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

current-time in a loop


From: PT
Subject: current-time in a loop
Date: 8 Dec 2005 06:01:18 -0800
User-agent: G2/0.2

current-time returns a list (HIGH LOW MICROSEC)

If I run it from a loop and leave it running for a few seconds only the
last element is incremented according to the output in the Messages
buffer:

(while t
  (princ (current-time))
  (princ "\n"))


(17304 15330 601809)
(17304 15330 601836)
(17304 15330 601863)
(17304 15330 601889)
(17304 15330 601916)


Why is that?



reply via email to

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