Page 1 of 1

Internal Error: System.TaskHeadRoom

Posted: 28 July 2008, 8:38 AM
by DieselPower
I am trying to use System.TaskHeadRoom on my ZX-24n and just get a Internal Error:. Is it an error in the way I'm using it, or a fault of the compiler?.

Here is the code that does it.

Code: Select all

Debug.print Cstr(System.TaskHeadRoom(FuelInMetertask))

Re: Internal Error:

Posted: 28 July 2008, 9:07 AM
by dkinzer
DieselPower wrote:Is it an error in the way I'm using it, or a fault of the compiler?
It is a compiler error that was discovered a few weeks ago. There is an experimental release of the compiler that resolves the problem . See the post at http://www.zbasic.net/forum/about1016.html for a download link.

Inasmuch as this problem is specific to native mode devices, I've moved this topic to the native mode forum.