Local and Global variables
<p>I am having trouble storing a node into an arrayList of nodes in two separate for loops (not nested).  There is a big scoping issue.  I need to read in a number of values in the first for loop and store values to this node, but then I have to use another for loop to read in a completely different value no accessable in the first and store it to the same node. I tried making this node global, but it does not seem to work. And I cannot initialize it before the for loop because the values needed to be associated with it are in two separate for loops like I mentioned which are not nested. There has to be a simple solution to this problem I am not seeing.  </p>
