Thanks for clarifying. Super smart approach to adopting legacy code to a modern interface.
Maybe I missed it, but are you still using the Powerbasic compiler or have you worked around that somehow?