|
|||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
SweetScape KnowledgebaseKB1021: 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]; } MATRIX[4]; Then matrices can be defined in your template like this: MATRIX m; After running the Template, the results will look like this: |
|||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
|