Results 1 to 3 of 3

Thread: dir_listarray and linked lists

  1. #1
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    61
    Posts
    3,869
    Rep Power
    398

    dir_listarray and linked lists

    I was wondering, can we use the linked list commands to add to and remove from a dir_listarray?

    Using dir_listarray, it is very nice to get all the files one wants. It would be nice to be able to add to or remove from that list
    returned by dir_listarray. I thought perhaps it was a special linked list and the linked list commands might work?

    Thanks in advance.
    Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
    Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server

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

    Re: dir_listarray and linked lists

    Ken,

    Dir_ListArray does not return or manage any linked list but fill a string variable array with the list of files found depending on parameter passed. Of course once the array is filled you can do what you need with that array.

    Different is the linked list module. With this module you will be able to create a linked list of whatever and than manage it as you prefer. Linked list module is generic and does not specifically works with list of files. You have to do the job fill a linked list of file names. Than the created linked list can be managed as you prefer.

    Not sure if I've replied to your question. Let me know.

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

  3. #3
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    61
    Posts
    3,869
    Rep Power
    398

    Re: dir_listarray and linked lists

    You did answer it clearly Eros, I see they are not similar at all. Thanks.
    Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
    Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server

Similar Threads

  1. Linked Lists
    By Petr Schreiber in forum thinBasic General
    Replies: 1
    Last Post: 22-09-2005, 23:10

Posting Permissions

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