Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
language:expressions [2025/04/21 17:38] – [Functions] rajitlanguage:expressions [2025/04/21 17:39] (current) – [Structure references] rajit
Line 211: Line 211:
 } }
 </code> </code>
 +
 +We can have expressions of the following form:
 +
 +<code act>
 +mystruct s;
 +int a;
 +...
 +chp {
 +   ...
 +   a := s.addone().getsum();
 +   ...
 +
 +</code>
 +
 ===== External Functions ===== ===== External Functions =====