Type Conversion

BlitzMax Forums/BlitzMax Beginners Area/Type Conversion

Whats the syntax? I'm getting an error when trying to add a float to an int.
this is the closest to an understandable error I've gotten. BOB[A].X is a float, the width is an integer.

If Int [BOB[A].X]+BOB[A].Width<0 Then BOB[A].X = GraphicsWidth()