meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

automation:array [2026/01/06 14:56] – created - external edit 127.0.0.1automation:array [2026/01/19 13:37] (current) vamsan
Line 29: Line 29:
 tomb[3, 1, 0] := 1; tomb[3, 1, 0] := 1;
 </code> </code>
 +
 +== Array of struct ==
 +{{anchor:array_of_struct}}
  
 The elements of the array are always homogeneous, meaning their types cannot vary. However, there can be multiple instances of a single type within a single array if we define a Struct type as an array element. The hydraulic motors described as an example in [[structure|Struct]] can also be defined as an array: The elements of the array are always homogeneous, meaning their types cannot vary. However, there can be multiple instances of a single type within a single array if we define a Struct type as an array element. The hydraulic motors described as an example in [[structure|Struct]] can also be defined as an array: