Search:

Type: Posts; User: Norm

Search: Search took 0.13 seconds.

  1. Replies
    3
    Views
    2,015

    Re: Boolean method help!

    By boolean method I assume you mean a method that returns a boolean value.
    When should the method return true?
    When should the method return false?

    When you answer those questions, you should be...
  2. Replies
    3
    Views
    2,015

    Re: Boolean method help!

    If you want to call the method the first time the total reaches that amount, use a boolean variable to remember that the method has been called. Initialize it to false.
    Test the variable before...
Results 1 to 2 of 2