[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 264: mysqli_fetch_assoc(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 326: mysqli_free_result(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 264: mysqli_fetch_assoc(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 326: mysqli_free_result(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027)
Pete's QBASIC Site • LINKED LISTS IN FREEBASIC?
Page 1 of 1

LINKED LISTS IN FREEBASIC?

Posted: Sat Aug 09, 2008 5:55 pm
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?

Posted: Sat Aug 09, 2008 7:50 pm
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.

Posted: Sat Aug 09, 2008 8:43 pm
by sid6.7
moved to correct forum...