Silverfrost Forums

Welcome to our forums

STOP [message] with WINAPP and /64

7 Apr 2023 1:01 #30173

I was testing a function routine this morning which should STOP the program (after issuing the error message associated with STOP) if there is a problem with the supplied function arguments.

With the 64 bit compiler and the winapp directive, the program executes the STOP statement, but does not print the desired error message.

winapp
print*, 'Without this print statement nothing is output to the winapp window under X64'
stop 'Something has gone wrong'
end
8 Apr 2023 7:16 #30175

Thanks Ken. This has now been fixed for the next release of Clearwin64.dll.

6 Mar 2025 12:54 #31977

Whether or not I use WINAPP, I get a message with x64 indicating:

**** STOP:

at the end of the program, which I do not get with Win32. Is there a way to prevent this output?

6 Mar 2025 6:54 #31979

I think that this probably needs to be made more consistent for a blank message.

In the mean time you could CALL exit(0).

Please login to reply.