Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
intro_example:pure_struct [2025/05/07 18:33] – [Methods] rajitintro_example:pure_struct [2025/05/18 15:07] (current) rajit
Line 1: Line 1:
 ====== Using pure structures ====== ====== Using pure structures ======
  
-A [[language:types2:data#pure_structures|pure structure]] is a user-defined data type that contains only ''int''/''bool'' or other pure structures. An example of a pure structure is:+A [[language:types2:data#pure_structures|pure structure]] is a user-defined data type that contains only ''int''/''bool'' or other pure structures. Pure structures are analogous to C/C++ ''struct''s, and can be used to organize data and  
 +make CHP more human-readable. An example of a pure structure is:
  
 <code act> <code act>