1161 posts
  • Author had a File in an Envato Bundle
  • Has been a member for 5-6 years
  • Sold between 50 000 and 100 000 dollars
  • Exclusive Author
  • Referred between 10 and 49 users
  • Bought between 50 and 99 items
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
  • Author had a File in an Envato Bundle
  • Has been a member for 5-6 years
  • Sold between 50 000 and 100 000 dollars
  • Exclusive Author
  • Referred between 10 and 49 users
  • Bought between 50 and 99 items
FlashTang says
never mind
for(i in 0...10){
}
by
by
by
by
by
by