How to get position or id of SimObject in RPN?

Does anyone know how to get the position (lat or lon) of a simobject or its ID
or instance GUID in the sim? I know there is STRUCT LATLONALT but I have no
idea how to use it with RPN code. I’m talking about static simobjects if that
does matter.