Page 1 of 1

COBOL can implement pointers and linked list?

Posted: Mon Apr 12, 2021 10:57 am
by Rohit Jain
Hi,

I am curious to know if COBOL can implement pointers and linked list just as we do it in C programming? I'm working with is openCobol.

Thank you for any direction

Re: COBOL can implement pointers and linked list?

Posted: Tue Apr 13, 2021 1:02 am
by Robert Sample
Look in the Programmer's Guide for your version of Gnu COBOL (Open COBOL) at the USAGE POINTER clause and the SET ADDRESS OF statement.