Results 1 to 6 of 6

Thread: Linked List Tool / Helper

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

    Linked List Tool / Helper

    I made a new tool tonight to help with what I am working on and liked it enough to want to share it with you guys.
    There is a help.html file that shows how to use it.

    This app helps you generate linked list files that you can store externally to your applications.
    This way you don't have to hard code such lists in your program and can update or make changes
    to such things easily without messing up any existing code.

    Updated the file to correct the mistakes pointed out by Eros. Thanks for catching them Eros.
    Attached Files Attached Files
    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: Linked List Tool / Helper

    Big thanks Kent.
    Can I add this script to official thinBasic distribution?

    _________________________________________________
    Just 3 notes on this source:
    • better to use app_sourcepath instead of DIR_GetCurrent. DIR_GetCurrent can return a path different from the script path.
    • at the end
      DIALOG END %formLinkedListHelper
      should be
      DIALOG END hDlg
    • DIALOG NEW PIXELS , 0, "Linked List Helper", 0, 0, 192, 366, %WS_SYSMENU, %formLinkedListHelper TO hDlg
      I do not understand the use of %formLinkedListHelper. In that position there is the dialog extended style attribute. A dialog as no ID like a control. I think %formLinkedListHelper can be removed from the script.


    Again a big big thanks for the examples you are posting. Very nice, well written, clever.
    I like your commenting style
    [code=thinbasic]
    '---+------------------------------------------------------+
    '---| MAIN PROGRAM |
    '---+------------------------------------------------------+
    [/code]

    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
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    6,796
    Blog Entries
    3
    Rep Power
    693

    Re: Linked List Tool / Helper

    Thanks Kent,

    nice program, I didn't know LLs can be saved/loaded to/from file.

    Eros, the commenting style is definitely output of Kents Remmer, I use it quite frequently too for serious work


    Petr
    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

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

    Re: Linked List Tool / Helper

    Glad you guys liked it and I will make changes to thinForm to fix those errors Eros, thanks for catching them.
    I am using Remmer for the comments. I finally settled on that look, I have been changing it so often. Sometimes **** looks good or ===== but in the end they look heavy with certain colors when I change my color settings.
    This one sometimes looks light again depending on the color, but better light than heavy I think

    updated the upload with corrections.

    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

  5. #5
    thinBasic MVPs Michael Hartlef's Avatar
    Join Date
    Sep 2006
    Location
    Leverkusen, Germany
    Age
    51
    Posts
    3,278
    Blog Entries
    2
    Rep Power
    339

    Re: Linked List Tool / Helper

    Nice tool. I'm surprised that you can save/load them too but I think it is because of the nature of an interpreted language, or?
    Running Windows 7 Home, 64 bit, 8 GB ram, Athlon II X2 255, ATI Radeon HD 4200.

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

    Re: Linked List Tool / Helper

    Well, no.
    It is just a functionality that read strings from the linked list and save them to disk (only data of course not memory address links)
    When needed, load function read a previouly save file and creates a new linked list on the fly getting strings from file.
    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. 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
  •