include("GCode.js"); function GCodeInch(documentInterface, newDocumentInterface) { GCode.call(this, documentInterface, newDocumentInterface); this.unit = RS.Inch; } GCodeInch.prototype = new GCode();