LINKED LISTS IN FREEBASIC?
Posted: Sat Aug 09, 2008 5:55 pm
does anyone know if it's possible to create a linked list in FREEBASIC
I'd like to use a user defined type such as:
TYPE LL
DIM AS LL PTR NODE
DIM AS (MY OTHER INFO HERE)
DECLARE SUB NEWNODE
ECT.
END TYPE
DIM AS LL LINKLIST
LINKLIST.NEWNODE
ECT,ECT,ECT, and soforth
Im not sure if what i got here could work or if making a linked list is even possible or what?
I'd like to use a user defined type such as:
TYPE LL
DIM AS LL PTR NODE
DIM AS (MY OTHER INFO HERE)
DECLARE SUB NEWNODE
ECT.
END TYPE
DIM AS LL LINKLIST
LINKLIST.NEWNODE
ECT,ECT,ECT, and soforth
Im not sure if what i got here could work or if making a linked list is even possible or what?