Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29277 Discussions

'loc' is not an array, a dumb question

wu_internet
Beginner
694 Views
I've got a dumb question here, normally I can use the LOC(XX) function to determine the address of the variable XX in the immediate window during debug, However, this time when I am doing the debug, no matter in the watch window or immediate window, it reports that 'LOC' is not an array, it just does not give me any answer about the address anymore. If I try with a small application, it seems alright. anymore have similar kind experience or you konw why it happened, please help.
Regards,
David.
0 Kudos
2 Replies
sabalan
New Contributor I
694 Views
Check if you have declared or used LOC as some variable in your code.
Sabalan.
0 Kudos
wu_internet
Beginner
694 Views
It is the case, thanks a lot.
Rgrds,
David
0 Kudos
Reply