Search:

Type: Posts; User: janpiel

Search: Search took 0.13 seconds.

  1. Replies
    5
    Views
    1,092

    Re: Boolean value prints out the wrong one.

    Just a hint from a programmer, it's bad style to exit methods or return values in functions in more than one line. I didnt mean it in a bad way.
  2. Replies
    5
    Views
    1,092

    Re: Boolean value prints out the wrong one.

    you make an assignment:

    test = true means in java that you set the var test to true. And in java the assignment return its value so it allways true

    Give (test == true) a try.

    P.S.
    In pascal...
Results 1 to 2 of 2