LINKED LISTS IN FREEBASIC?

The forum for all of your Freebasic needs!

Moderators: Pete, Mods

Post Reply
User avatar
T'lon Nanaki
Coder
Posts: 42
Joined: Mon Aug 04, 2008 12:46 pm
Location: Denver Colorado
Contact:

LINKED LISTS IN FREEBASIC?

Post by T'lon Nanaki »

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?
MystikShadows
Veteran
Posts: 703
Joined: Sun Nov 14, 2004 7:36 am
Contact:

Post by MystikShadows »

Indeed, freebasic handles linked lists. You can have a sample code right here http://www.freebasic.net/forum/viewtopic.php?p=90105

Hope it helps.
When God created light, so too was born, the first Shadow!

MystikShadows

Need hosting? http://www.jc-hosting.net

Interested in Text & ASCII development? Look no further!
http://www.ascii-world.com
sid6.7
Veteran
Posts: 318
Joined: Tue Jun 21, 2005 8:51 am
Location: west USA
Contact:

Post by sid6.7 »

moved to correct forum...
Post Reply