this is weird. I just did a load of status variables and it generated the code correctly.

except.... i make HP Status variable local in ASL, but when i open QDK and save from QDK it puts it back to a Global scope. Think you should check the code Alex to make sure its operating properly.