title: Get value at some memory address in Fortran
body: <p>I have a boolean variable BVAR, in a subroutine SUBA that changes when I call a subroutine SUBB, from SUBA. BVAR is not passed as argument to SUBB, there is probably some problem happening with the array declarations, and I don't know how to find it.</p>
  
  <p>I know that I can get BVAR memory address with LOC(BVAR), and I want to know when in SUBB the value at this address is changed. As there are many variables and many other subroutines called in SUBB, it's not practical to ask for the memory address of all variables in SUBB.</p>
  
  <p>Thank you</p>