$ 0 0 You were doing read statement and the declaration part was commented.That was causing the error.