Rewrite the UDFs as subroutines. You will also need to re-engineer the SPLIT command.

Upgrading to kiXtart 4.2x is highly recommended, especially when supporting Windows 2000 and active Directory.

However, the basic program flow still applies. And the next time, please provide all necessary info as outlined in ABC's of KiXtart board etiquette and message to new forum users . This would save much time/grief in helping.
_________________________
There are two types of vessels, submarines and targets.