Did u tested your code?..because i ah having problem in running your code.
In reply to Re^2: return more than 1 value by changma_ha in thread return more than 1 value by changma_ha