view python/c3/examples/cast.c3 @ 256:225f444019b1

Added build and flash menu option
author Windel Bouwman
date Sun, 04 Aug 2013 18:32:04 +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;
}