MemCom Reference Manual > MemCom (Old) Fortran77 API > Utility Functions > iaddr

Name

iaddr — Return address of variable

Synopsis

integer*4 function iaddr(var)

Description

iaddr returns the memory address of a F77 variable var counted in bytes. This function is a MemCom 6 compatibility function and it may not work on some 64 bit platforms. iaddr is equivalent to the Fortran intrinsic function %ref(var).

Parameters

var

Variable whose address is returned (input).