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