Search:

Type: Posts; User: Zyrion

Search: Search took 0.12 seconds.

  1. Replies
    6
    Views
    1,243

    [SOLVED] Re: If and else if statements???

    Remember hasTail is boolean variable that can be used as an expression. Sense you want to use a control statement on that particular variable, if(!hasTail) and if(hasTail) is a viable option.
  2. Replies
    6
    Views
    1,243

    [SOLVED] Re: If and else if statements???

    Your using '=' instead of the equality operator '=='. Like Beavis said you do not need to test a true or false value in your if-statement but use the variable itself.
Results 1 to 2 of 2