Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!caip!nike!ucbcad!ucbvax!GRINNELL.MAILNET!McGuire_Ed From: McGuire_Ed@GRINNELL.MAILNET Newsgroups: mod.computers.vax Subject: VMS: linked lists in BASIC (ugh!) Message-ID: <8607292123.AA20829@ucbvax.Berkeley.EDU> Date: Mon, 28-Jul-86 14:29:00 EDT Article-I.D.: ucbvax.8607292123.AA20829 Posted: Mon Jul 28 14:29:00 1986 Date-Received: Wed, 30-Jul-86 00:56:53 EDT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 12 Approved: info-vax@sri-kl.arpa 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!