Thank you all for the quick response The explicit usage with return command solved my problem Thanks again
In reply to Re^2: Doubt in functions by vyeddula in thread Doubt in functions by vyeddula