Originally Posted By: MasterQ32
function is just an alias for var.
Both are defined with as fixed:
Code:
typedef fixed var;
typedef fixed function;


So you can actually do this:
Code:
function a, b;
a = 10;
b = 20;
printf("%f", a + b);



Regards


A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com