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
    7,128
    Rep Power
    732

    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 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  2. #2
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    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/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

Similar Threads

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

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

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