Program runs OK within VS, but not as a standalone

Program runs OK within VS, but not as a standalone


I am using Composer XE 2011 integrated into MS VS 2010.  I have a couple of separate issues that I hope someone can help me with.

1. The FORTRAN code runs OK when started within VS, but doesn't if started as a standalone exe file.

2. The code doesn't run OK until I put a "write" statement in the body of the code. This "write" statement is absolutely unnecessary for the code, though it makes it run (?!)

Thank you,


2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

The symptoms indicate that you may have undefined variables and/or array bounds being crossed. Please provide example source code that does what you described. You may consider providing the full code, but it usually works better for you and us if you can pare down the code to a reasonable size (a few hundred lines, if possible).

Leave a Comment

Please sign in to add a comment. Not a member? Join today