- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
A FORTRAN COMMON variable is being overwritten in a "C" program. How do I get the address of the FORTRAN variable so that I can track it in the "C" program in order to find out what writes over it?
Thanks,
Rachel
コピーされたリンク
2 返答(返信)
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
That's a good question. I thought I could find a way to do it, but I couldn't. All I can suggest is that you add a line such as:
print *, loc(variablename)
to get the address.
print *, loc(variablename)
to get the address.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Steve,
Thank you so much. This print statement worked for me. I am all set.
Rachel.