ENgetnodetype function

Retrieve the node-type code