Internal Error: System.TaskHeadRoom

Discussion of issues related specifically to writing code for native mode devices. This includes ZBasic code as well as assembly language code and C code, both inline and standalone.
Post Reply
DieselPower
Posts: 3
Joined: 06 June 2008, 21:07 PM

Internal Error: System.TaskHeadRoom

Post 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))
dkinzer
Site Admin
Posts: 3120
Joined: 03 September 2005, 13:53 PM
Location: Portland, OR

Re: Internal Error:

Post 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.
- Don Kinzer
Post Reply