Mercurial > lcfOS
comparison test/c3examples/types.c3 @ 286:d9df72971cbf
Changed package to module
author | Windel Bouwman |
---|---|
date | Fri, 15 Nov 2013 13:52:32 +0100 |
parents | 05184b95fa16 |
children |
comparison
equal
deleted
inserted
replaced
285:e64c8c03128f | 286:d9df72971cbf |
---|---|
1 | 1 |
2 /* | 2 /* |
3 Demo of how to define types | 3 Demo of how to define types |
4 */ | 4 */ |
5 | 5 |
6 package typedemo; | 6 module typedemo; |
7 | 7 |
8 type int A; | 8 type int A; |
9 type int B; | 9 type int B; |
10 type struct { | 10 type struct { |
11 int x, y; | 11 int x, y; |