number zero converted into empty string
Monkey Forums/Monkey Bug Reports/number zero converted into empty string
| ||
try this Import mojo Function Main:Int() New bughunt End Function Const up:Int=0 Const down:Int=1 Class bughunt Extends App Method OnUpdate:Int() Print "hello "+String(up) Print "hello "+up Print "hello "+String(down) Print "hello "+down End Method Method OnRender:Int() End Method Method OnCreate:Int() SetUpdateRate 30 End Method End Class it should be printing hello 0 not just hello |