Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with java.util.Random  RSS feed

 
Emilian Chmiel
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


I wonder why it dosen't work properly

---------

OKay now I see problems with {};
it's OKey now, sorry
--------
 
Campbell Ritchie
Marshal
Posts: 55681
161
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well done sorting it out

By the way, some of your lines are too long and difficult to read. I'll quote your post with the long lines sorted out, so you can see how to do it
 
Campbell Ritchie
Marshal
Posts: 55681
161
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Emilian Chmiel wrote:. . .
Unfornately you used tabs for indenting, which makes it hard for me to get the indentation right.

If you put two statements onto the same line, you ar bound to confuse yourself about the structure of the code.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!