Hex Editor Neo provides scripts running as part of expression evaluation with two built-in objects:
Object Name | Description |
---|---|
document | References the document for which Structure Viewer parses a structure. Refer to the Working with Document Object section for more information. |
parser | Allows 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. |
function GetDocumentSize()
{
return document.FileSize;
}