Hi All,
local!data:{
{name:"AA",lastname:"BB",age:2},
{name:"CC",lastname:"AA",age:2},
{name:"DD",lastname:"CC",age:2},
}
First i will be getting an input say lastname(BB),then i have to check in the array whether i have a name or not for the lastname BB, if yes means (AA) then again i have to pass AA as last name to check in array which will return name as CC .Like this i will pass last name as input till there is no name in order to calculate age.
my requirement is similar to this one.Any suggestions how to achieve this logic using looping function.
Thanks in Advance.
PradeepB
Discussion posts and replies are publicly visible
Hi pradeepb0001, it sounds like a recursive function
Thanks for your reply,Any suggestions how to achieve this dynamically?
Thank you ,it worked perfectly for my requirement with some modifications based upon my requirement logic.