This does not work for reason explained.Please advice how to make it work.
Thanks Stefan and everyone. It worked perfectly. I want to understand that:
- Why passing parameters like this is working and not they way I was passing?
- I understand Bear Bibeault's advice that scriplet should not be used as adviced in Shashank's code.However just out of curiosity I want to know why it would work and not they way i coded.