gm2
[Top][All Lists]
Advanced

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

SysClock.CanGetClock()


From: Michael Riedl
Subject: SysClock.CanGetClock()
Date: Sun, 23 Jul 2023 18:16:17 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:102.0) Gecko/20100101 Thunderbird/102.11.0

Gaius,

can you please have a short check - my versions of the compiler now always seem to have a return value of "FALSE" for SysClock.CanGetClock();

Just notices as I had update one test routine and noted that I was always testing against the same set of data - the random number generator uses a seed depended on the system time.

Thanks

Michael

-----

Shot check routine:

MODULE TstSysClock;

IMPORT SysClock;
IMPORT STextIO;

BEGIN
      STextIO.WriteLn;
      STextIO.WriteLn;
      IF SysClock.CanGetClock() THEN
        STextIO.WriteString(" clock can be read");
      ELSE
        STextIO.WriteString(" clock can NOT be read");
      END;
      STextIO.WriteLn;
      STextIO.WriteLn;
END TstSysClock.






reply via email to

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