Clock_kHz and Clock_Mhz sometimes give incorrect results

List of known bugs
Locked
Author
Message
User avatar
zristic
mikroElektronika team
Posts: 6608
Joined: 03 Aug 2004 12:59
Contact:

Clock_kHz and Clock_Mhz sometimes give incorrect results

#1 Post by zristic » 21 Mar 2006 10:41

Bug ID: #060321001
Submitted by: Uwe Papengut

Severity: Major
Status: Fixed in v5.03.

Description:
Clock_kHz and Clock_Mhz sometimes give incorrect results. The functions fail to return correct values only in rare and specific occasions.
Workaround:
This kind of call solves the problem for all cases:

Code: Select all

  MyVar := Clock_kHz + 0;

Locked

Return to “mikroPascal Bug List”