Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. [SOLVED] Re: (Simple) How to use an if statement to respond to random integers

    Getting the right vocabulary can be important. There are many terms and techniques in IT with their own names.
    You'll be able to ask better questions with the right word.
  2. [SOLVED] Re: (Simple) How to use an if statement to respond to random integers

    That is called a method.

    You need to move the definition of the variable out of a method to the class level so all methods can see it.
    You can then give it values or call its methods in any...
  3. [SOLVED] Re: (Simple) How to use an if statement to respond to random integers

    What do you mean by block of code? Are you talking about code with a pair of {} within a method
    or do you mean a class?
    You need a reference to the component whose methods you want to call.
    ...
Results 1 to 3 of 3