Yes I tried that. Didn't work. So I've copied/paste it to a new vi a portion at a time. Seems to have worked. Took a bit of time but it's better than doing it over. I'd just like to know why it happened. Oh well, long as it works.
Thanks for the input.