Edit Anything

Professional text and hex editing
with Binary Templates technology.

SweetScape Knowledgebase
KB1021: How do I define a multi-dimensional array?

010 Editor currently only supports one-dimensional arrays in Templates; however, 2D or 3D arrays can be read with 010 Editor using structures. For example, a 4 by 4 matrix could be defined by the type:

    typedef struct 
       float row[4];

Then matrices can be defined in your template like this:

    MATRIX m;

After running the Template, the results will look like this:

Back to knowledgebase index
Back to main support page

Our Products

Latest News

- 010 Editor
is now available.

Download it now!
What's New in 8.0?

Join our newsletter to receive tips and tricks on hex editing, special offers, and news from SweetScape Software Inc.

Sign-up Now...