[mod.computers.vax] VMS: linked lists in BASIC

McGuire_Ed@GRINNELL.MAILNET (07/28/86)

I'm enhancing a utility that was written in VAX BASIC.  A linked list of
records allocated from heap would be perfect for the enhancement.  I'd rather
not rewrite it in Pascal just for this one enhancement, but I can't imagine how
to implement a linked list in BASIC.

I can allocate lots of heap using LIB$GET_VM, but I don't know how to address
it because there is no pointer type in BASIC.  (Aside from building a string
descriptor for the heap records and writing a function to expect a string and
support "read and write to heap".  I refuse to do that.)

Does anybody have any neat ideas?  Thanks in advance for your help!