Search:

Type: Posts; User: curmudgeon

Search: Search took 0.10 seconds.

  1. Replies
    4
    Views
    1,132

    Re: A little help with looping my array

    Please post your latest edition of the code, please post the error message, and please indicate by comment in the code which line is causing the NPE, something like



    public class Foo {

    ...
  2. Replies
    4
    Views
    1,132

    Re: A little help with looping my array

    A basic rule to follow: Anything that needs to be repeated needs to be inside of the loop. So if you need to re-display a menu, then that code should be inside of the while loop, not before the while...
Results 1 to 2 of 2