In reply to dave_59:
Hi Dave ,
Thank you for the reply.
It did solve my doubt.
I have another question regarding the keys.
Is there a way to know how many keys are being used apart from the statement sema.get(3);Is there a function to print the value of the keys in use and those that are not in use?