Author Topic: Casting  (Read 602 times)

0 Members and 1 Guest are viewing this topic.

Charles Pegge

  • Author
  • *****
  • Posts: 3282
    • Oxygen Basic
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