Search:

Type: Posts; User: GregBrannon

Search: Search took 0.11 seconds.

  1. Re: How to use an array that has int values "keyed" to a String name.

    When you see variable names like m1, m2, m3, . . . , mX the analytic half of your brain should smack the creative half. Using one- or two-letter variable names is bad programming practice, but...
  2. Re: How to use an array that has int values "keyed" to a String name.

    Nonsense! It's a difficult problem to solve with parallel arrays - near enough to impossible - so you should change the design to eliminate use of parallel arrays. Each Bot instance should record...
  3. Re: How to use an array that has int values "keyed" to a String name.

    Why isn't this method (and the rest like it):

    public int getfm4 () {
    fragsfm4 = fm4;
    return fragsfm4;
    }
    Simply:

    public int getfm4 () {
    return fm4;
Results 1 to 3 of 3