1161 posts
  • Has referred 10+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Had an item featured in an Envato Bundle
+4 more
FlashTang says

Anyone know haxe here ?

for (var j:Float; j < 10; j++ ) {
    //
}

src/Main.hx:92: characters 7-10 : Unexpected var

What is the correct “for” syntax ?

Or no “for loop” in haxe ?

Just 2 stupid questions :p

Thanks

1161 posts
  • Has referred 10+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Had an item featured in an Envato Bundle
+4 more
FlashTang says
never mind
for(i in 0...10){
}
by
by
by
by
by
by