Hi Rajani
I think that
---code here
**** more code here
might have relevant code, for example if you are doing a long select or a scan...endscan or other loops, the user's input would be delayed until after the termination of that code.
Also, what are you doing with llCancel? There is no code in the DO or afterwards checking for it, maybe you intended:
do while not llCancel
or somewhere in (---) or (****) you should do a
if llCancel
exit
endif
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges