Usually pumpkin squares are more cakelike, and pumpkin bars are thinner and denser. But more bars or square recipes can be cut either way.