Mercurial > lcfOS
view python/c3/examples/cast.c3 @ 251:6ed3d3a82a63
Added another c3 example. First import attempt
author | Windel Bouwman |
---|---|
date | Mon, 29 Jul 2013 20:23:13 +0200 |
parents | 848c4b15fd0b |
children |
line wrap: on
line source
/* Demo of how to type cast */ package castdemo; function int testcast() { var int a; var int* b; a = 3; b = cast<int*>(a); return 0; }