'loc' is not an array, a dumb question

'loc' is not an array, a dumb question

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.



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

Check if you have declared or used LOC as some variable in your code.


It is the case, thanks a lot.



Leave a Comment

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