Read duty cycle of a pwm pin on Arduino Mega... ?!

I don't get why saving a variable is such a big deal.
The value was in a variable when you did the analogWrite, so why not use that again?