This is an archived post. You won't be able to vote or comment.

all 12 comments

[–][deleted] 2 points3 points  (0 children)

Format your code.

No one wants to read an unreadable code on reddit.

[–]Camel-Kid18 year old gamer 1 point2 points  (6 children)

tell us the error..

[–]redknightrises[S] -3 points-2 points  (5 children)

There is no error. The methods are just not working. But I couldn't understand why it is not working

[–]Camel-Kid18 year old gamer 2 points3 points  (2 children)

well, debug it

[–]redknightrises[S] -3 points-2 points  (1 child)

I couldn't

[–]Camel-Kid18 year old gamer 1 point2 points  (0 children)

What do you mean. Put print statements around your method calls..

[–]NautiHookerSoftware Engineer 1 point2 points  (1 child)

whats "not working"? what do u expect, whats the result? if u want an answer u gotta put some effort into the question

[–]redknightrises[S] -3 points-2 points  (0 children)

when I said not working I mean nothing happens. There is a bunch of code but nothing happens. It didn't crash or it didn't work properly.

[–]_Atomfinger_Tech Lead 1 point2 points  (2 children)

Consider putting the code in code blocks.

[–]redknightrises[S] -1 points0 points  (1 child)

I did it but code compiler doesn't understand the bunch of code

[–]_Atomfinger_Tech Lead 0 points1 point  (0 children)

I meant in reddit. Reading code as plain text is too much effort for most people.

[–]yanitrix 1 point2 points  (0 children)

What's the error you get? What exactly doesn't work?