I was mistaken when I said that it was not setting up the arguments properly.
It was actually the DEBUGGER that is screwed up.
It can't display ANY REAL*8 variables, it gives NONSENSE values for those.
I am wondering though -
They know that this debugger is going to be used by scientists and engineers, so why won't they
address the issue of REAL*8 or REAL*16 variables? Are they assuming only C programmers will use it?
I had to make the subroutine (Drawcirc) earlier SEPARATE rather than using the CONTAINS feature, to make the program work properly.
For some reason the graphics library cannot handle that situation.