diff options
| author | Ginger Bill <bill@gingerbill.org> | 2016-11-23 09:46:58 +0000 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2016-11-23 09:46:58 +0000 |
| commit | 543a2d1e5a0ee96e782fb184ea5b73b9081c0eff (patch) | |
| tree | 8fa17a5fb07c8103dc88d6b760ef1d73c06876a5 /code | |
| parent | 36ad9dae43cd21d8532994cd0d0e92a89af0ed04 (diff) | |
Swap b32 to bool, et al.
Diffstat (limited to 'code')
| -rw-r--r-- | code/demo.odin | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/code/demo.odin b/code/demo.odin index 3912fb9f1..2bc59bdc8 100644 --- a/code/demo.odin +++ b/code/demo.odin @@ -15,8 +15,6 @@ variadic :: proc(args: ..any) { main :: proc() { fmt.println("Hellope, everybody!") - - variadic(1 as u128, 1 as i128, ) @@ -38,8 +36,8 @@ main :: proc() { z = x | y; fmt.println("x | y", z) z = x &~ y; fmt.println("x &~ y", z) - z = -x - z = ~x + z = -x; fmt.println("-z", z) + z = ~x; fmt.println("~z", z) b: bool b = x == y; fmt.println("x == y", b) |