Led as analog input

I have seen arduino code for using a led as an analog input but now i can’t find it anywhere, could you please help me?

tkz a lot (;

http://www.arduino.cc/playground/Learning/LEDSensor

easy to find with the new Playground hardware index at
http://www.arduino.cc/playground/Main/InterfacingWithHardware

Eberhard