Just found some previous posts about the use of OWIN and OWOUT:

http://www.picbasic.co.uk/forum/show...highlight=OWIN