Hi
I’d like to create a simple test environment to help me create code and get it working before I add it to the rest of FAST, where there is lots going on that I don’t know about. I’d like to use the functions in the NWTC library though, so that when I do integrate my new stuff, things are relatively seamless.
I’ve found and fixed some little things, like USE NWTC_Library is not enough to get a good value of Pi, I also need to CALL NWTC_Init. (Actually, this is mentioned in the Programmer’s Handbook, so I should have read that in the first instance.)
Weirdly, when I CALL NWTC_Init, the subroutine WrScr() works fine:
and so do the PRINT*, ‘…’ commands that I’m using.
But when I put WrScr() into my main program, it all goes wrong and I get:
from this:
CALL WrScr ( 'STOP requested by DISCON.DLL: ' )
There isn’t much in Appendix K about this problem though, so I thought I’d ask here…
Thanks for your help.