XPPROGRAMMER
Programmer
Hello,
if we dereference a pointer in the same runtime module,
would that cause an abend or an unpredictable behavior?
for example:
working-storage section.
01 my-pointer usage is pointer value null.
linkage section.
01 my-storage pic x(80).
procedure division.
0001-main.
set my-pointer to address of my-storage.
*> or
set my-storage to address of my-pointer.
would that be ok?
I am using windows xp pro with microfocus net express 3.1,
thanks for the kind help.
if we dereference a pointer in the same runtime module,
would that cause an abend or an unpredictable behavior?
for example:
working-storage section.
01 my-pointer usage is pointer value null.
linkage section.
01 my-storage pic x(80).
procedure division.
0001-main.
set my-pointer to address of my-storage.
*> or
set my-storage to address of my-pointer.
would that be ok?
I am using windows xp pro with microfocus net express 3.1,
thanks for the kind help.