Hey. Thanks for the reply.
I tried the code above and it comes up with the error "possible endless loop in displayinfo1"!!