source:
CIVL/mods/dev.civl.com/examples/languageFeatures/intToBool.cvl@
cb4d4f4
| Last change on this file since cb4d4f4 was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 161 bytes | |
| Line | |
|---|---|
| 1 | #include<civlc.cvh> |
| 2 | #include<stdio.h> |
| 3 | |
| 4 | void main(){ |
| 5 | int a = 9; |
| 6 | _Bool b = $true; |
| 7 | |
| 8 | if(b) |
| 9 | printf("b is true\n"); |
| 10 | else |
| 11 | printf("b is false\n"); |
| 12 | } |
Note:
See TracBrowser
for help on using the repository browser.
