LINKED LISTS IN FREEBASIC?

The forum for all of your Freebasic needs!

Moderators: Pete, Mods

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

LINKED LISTS IN FREEBASIC?

Postby T'lon Nanaki » 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?

MystikShadows
Veteran
Posts: 703
Joined: Sun Nov 14, 2004 7:36 am
Contact:

Postby MystikShadows » Sat Aug 09, 2008 7:50 pm

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

User avatar
sid6.7
Veteran
Posts: 318
Joined: Tue Jun 21, 2005 8:51 am
Location: west USA
Contact:

Postby sid6.7 » Sat Aug 09, 2008 8:43 pm

moved to correct forum...


Return to “Freebasic Questions & Answers”

Who is online

Users browsing this forum: No registered users and 3 guests