There is a function GET-POINTER-VALUE but it only works for variables of type MEMPTR. GET-POINTER-VALUE returns the physical memory address. For other type of variables there is no such function (for as far as I know)
Code:
DEFINE VARIABLE a AS MEMPTR NO-UNDO.
SET-SIZE(a) = 500.
MESSAGE GET-POINTER-VALUE(a)
VIEW-AS ALERT-BOX INFO BUTTONS OK.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.