You get an error with what code?
I can do this :-
Global i:Long = Rand(0,100)
with no problems.
Explicit casting is performed by this kind of syntax (brackets are unneccessary but I always use them)
Global x:Int
Global y:Float
y = 10.0
x = Int(y) ' Here's the cast to Int
I can do this :-
Global i:Long = Rand(0,100)
with no problems.
Explicit casting is performed by this kind of syntax (brackets are unneccessary but I always use them)
Global x:Int
Global y:Float
y = 10.0
x = Int(y) ' Here's the cast to Int