Results 1 to 3 of 3

Thread: thinBasic 1.7.0.0: 2008.11.02 refreshed version

  1. #1
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,817
    Rep Power
    10

    thinBasic 1.7.0.0: 2008.11.02 refreshed version

    thinBasic version 1.7.0.0: 2008.11.02 refreshed version.
    _________________________________________________
    Online help: http://www.thinbasic.org/public/appl...youreyes/HTML/
    Features implemented in version 1.7.0.0: http://www.thinbasic.org/public/appl...on_1_7_0_0.htm
    _________________________________________________

    Hi all.

    I've refreshed thinBasic 1.7.0.0 with a new version.

    This refresh introduces a new interesting feature in UDT handling: dynamic strings can now be used as elements inside UDT.
    Declaration is like standard dynamic strings: MyUdtElement AS STRING
    Those elements can hold any size string in both text only or binary format with a lenght limited only by the OS available memory.
    ThinBasic will take care of memory releasing allocated by those elements when UDT variable finish its scope. On that side there is a limitation for the moment: only first level nesting UDT dynamic strings will be released by thinBasic engine. If a dynamic string is inside and UDT and that UDT is inside another UDT (and so on) thinBasic will not free its allocated memory. In those cases, it will be programmer responsibility to de-allocate dynamic strings just letting them be equal to empty string "".
    Maybe this limitation will be solved in future versions.

    • For those of you that already received a message from me with the download link, JUST USE THE SAME LINK and substitute in the URL /20081101/ with /20081102/
    • If someone else would like to test new thinBasic before final release, just drop me a personal message here in forum and I will send you the URL where to download it.


    Ciao.
    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

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

    Re: thinBasic 1.7.0.0: 2008.11.02 refreshed version

    We are very close to a final thinBasic 1.7.0.0
    I'm waiting for Roberto to fix latest thinAir found important bugs and few tuning in UI module.
    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

  3. #3
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,817
    Rep Power
    10

    Re: thinBasic 1.7.0.0: 2008.11.02 refreshed version

    A quick example of dynamic string inside UDT:
    [code=thinbasic]
    TYPE MyType
    '...
    Name AS string
    ID AS string
    Notes AS string
    '...
    END TYPE


    function TBMain() as long
    DIM MyUSer as MyType

    MyUSer.Name = "MyName"
    MyUSer.ID = "MyID"
    MyUSer.Notes = repeat$(100000, "Whatever string or data or binary sequence are allowed")

    MSGBOX 0, _
    "[" & MyUser.Name & "]" & $crlf & _
    "[" & MyUser.ID & "]" & $crlf & _
    "[" & left$(MyUser.Notes, 100) & "]" & $crlf & _
    "MyUser.Notes has allocated " & len(MyUser.Notes) & " bytes."

    end function
    [/code]
    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. thinBasic 1.7.0.0: 2008.11.01 refreshed version
    By ErosOlmi in forum Preview testing
    Replies: 0
    Last Post: 02-11-2008, 01:06
  2. thinBasic 1.7.0.0: 2008.10.29 refreshed version
    By ErosOlmi in forum Preview testing
    Replies: 0
    Last Post: 29-10-2008, 01:41
  3. thinBasic 1.7.0.0: 2008.09.14 refreshed version
    By ErosOlmi in forum Preview testing
    Replies: 0
    Last Post: 14-09-2008, 23:12

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
  •