Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
language:langs:chp [2025/05/23 11:56] – [Syntactic replication] rajitlanguage:langs:chp [2025/11/17 18:26] (current) – [Debugging and other support functions for simulation] rajit
Line 357: Line 357:
 </code> </code>
  
-Booleans are displayed as integers, with ''0'' corresponding to false, ''1'' corresponding to true. Integers can also be displayed in hexadecimal, binary, or decimal (the default). The integer display mode can be changed with a prefix in a string, as shown in the example above.+Booleans are displayed as integers, with ''0'' corresponding to false, ''1'' corresponding to true. Integers can also be displayed in hexadecimal, binary, or decimal (the default). The integer display mode can be changed with a prefix in a string, as shown in the example above. Other modifiers are ''%u'' for unsigned integers, and ''%d'' for signed integers.
  
 Other support functions of this type are: Other support functions of this type are: