Author Topic: Casting  (Read 2012 times)

0 Members and 1 Guest are viewing this topic.

Charles Pegge

  • Guest
Casting
« on: February 10, 2014, 11:39:53 PM »

Similar to C: but integers and pointers expressions do not require casting.

Code: [Select]

float f=4.25
sys a
a=(int) f
print a

float g
g=(float) a
print g