I added back in the $maxPine to the max value of the pine slider, and now it's saying that maxPine is an undeclared variable, but surely it's being declared in the global proc maxPinevalue which comes before global proc gilesTreeGen? global proc maxPinevalue(){ int $oakPercent = `intSliderGrp -q -value oak`; int $maxPine =…