Results 1 to 2 of 2

Thread: Linked Lists

  1. #1
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    6,778
    Blog Entries
    3
    Rep Power
    691

    Linked Lists

    Hi,

    I'm quite confused by LL module.
    I absolutely don't know what it has to do

    According to name I can just guess it is some thing, with which I can join one element to other. What is it's purpose ? Is this technology from Earth?

    I'v seen the example script but I still can't get it

    Thanks,
    Psch
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 7 64bit - Intel Core 2 Duo T6600 @ 2.2GHz - 4 GB RAM - NVIDIA GeForce G210M 512MB
    Windows 8 64bit - Intel Core i5-3350P @ 3.1GHz - 8 GB RAM - NVIDIA GeForce GT640 3GB

  2. #2
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    50
    Posts
    8,131
    Blog Entries
    2
    Rep Power
    10

    Linked Lists

    Yes, example is minimal and stupid, I agree.

    LL module is a way to store related information all in one place and by name, something similar to associative arrays.

    Have a look at #INCLUDE keyword in the help file.
    There, I've used such an object to store all the informations related to a web site.

    You can see online example at http://www.thinbasic.com/public/prod...config_inc.htm
    In this example all the condifuration parameters are saved into a LL object under the name gConfig. The first call to LL_ADD mainly create the object with the first element. All the other calls add other configuration parameters.

    In the next #INCLUDE example I recall configuration parameters using their names with function LL_DataByName.

    It's not easy at first but very powerfull. You can save big amount of data inside such object.

    Eros
    www.thinbasic.com | www.thinbasic.com/community/ | psch.thinbasic.com
    Win10Pro 64bit - 8GB Ram - Intel i7 M620 2.67GHz - NVIDIA Quadro FX1800M 1GB

Similar Threads

  1. dir_listarray and linked lists
    By kryton9 in forum thinBasic General
    Replies: 2
    Last Post: 14-05-2007, 07:25

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •