Hi,
I am not able to print the return output of the following lists:keysearch
function.
case lists:keysearch(Query,1,Data) of
{value,Answer} ->
io:format("~p",Answer);
false ->
io:format("not found ~n")
end,
I know Answer is my tuple that i should print out.Can anyone tell me what mistake i am doing ? thanks in advance