Hex Editor - Binary File Editing Software for Windows
Download Hex Editor Neo Hide this button

Script Objects

Hex Editor Neo provides scripts running as part of expression evaluation with two built-in objects:

Object NameDescription
documentReferences the document for which Structure Viewer parses a structure. Refer to the Working with Document Object section for more information.
parserAllows script to reference other bound structures, their fields, as well as bind other structures to the current document and display debugging messages. This object is a default “global” object for a script, so its methods may be called directly, without using parser.Method notation. Refer to the Working with Parser Object section for more information.

Example

function GetDocumentSize()
{
    return document.FileSize;
}