Page 1 of 4 123 ... LastLast
Results 1 to 10 of 32

Thread: thinBasic Beta 1.8.6.0

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

    thinBasic Beta 1.8.6.0

    thinBasic Beta 1.8.6.0
    Download from: http://www.thinbasic.biz/projects/th...ic_1.8.6.0.zip


    Some bugs fixed from previous beta and few more features.

    Main changes:
    • thinCore: StartsWith function added
    • thinCore: EndsWith function added
    • thinCore: temporary fix an internal bug in hash table used to handle UDT elements
    • thinCore: numeric equates now possible in function default parameters value
    • thinCore: implicit line continuation when in presence of a delimiter ending the line
    • thinCore: c-style block comments using /* ... */ pairs
    • DT: DT_GetTimeStamp fixed. Error in output format
    • UI: Canvas_GetTextHeight function added
    • UI: Canvas_GetTextWidth function added
    • UI: RTF_AppendText improved adding COLOR and BCOLOR blocks and possibility to specify color name taken from predefined color equates
    • thinAir: improved speed in handling code browser code scanning
    • thinAir: reduced MDI windows refresh
    • thinAir: added an option in code browser to sync active MDI window with code browser
    • thinAir: for better future handling and improvements, code browser scanned elements setup has now its own option dialog in thinAir option
    • thinAir: fix function name scanning when in presence of = signs in parameters default values
    • Oxygen module: updated to the latest available on SVN server (examples included)
    • TBGL module: updated to the latest available on SVN server


    ... see thinBasic help for complete and detailed list of changes.

    More updates in next few weeks

    Regards
    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
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,128
    Rep Power
    732

    Re: thinBasic Beta 1.8.6.0

    Thanks a lot,

    the reduced MDI refresh is working well and the other improvements are highly welcomed!

    Only one thing - "the sync active MDI window with code browser" works good, but does not react when I use CTRL+TAB to switch to other code.


    Petr
    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

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

    Re: thinBasic Beta 1.8.6.0

    Quote Originally Posted by Petr Schreiber
    Only one thing - "the sync active MDI window with code browser" works good, but does not react when I use CTRL+TAB to switch to other code.
    Yes, sorry about that but I had some hurry to publish this release.
    For the moment I had time to just add it to react to thinAir Tab switching.
    I need few more improvements and than I will extend it to whatever MDI switch will be performed.

    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

  4. #4
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,128
    Rep Power
    732

    Re: thinBasic Beta 1.8.6.0

    No problem Eros,

    I posted it just to let you know.
    The MDI refresh minimalization is great, most visible when launching script from IDE. Before it blinked through all files, now it is more "calm".


    Petr
    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

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

    Re: thinBasic Beta 1.8.6.0

    I'm getting a lot of advantages transforming thinAir source code from 100% procedural to some Power Basic OOP.
    There will be a lot of improvements in thinAir in next versions.
    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

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

    Re: thinBasic Beta 1.8.6.0

    Petr,

    by this evening I will post an updated beta 1.8.6 with MDI switching codebrowser also when using CTRL+TAB or CTRL+SHIFT+TAB
    I think it is better to have it soon at least this one.

    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

  7. #7

    Re: thinBasic Beta 1.8.6.0

    Thanks for the fixes and another great update. Petr's new string functions "StartsWith" and "EndsWith" very interesting and should prove useful when you have certain text manipulation or searching of strings...

    catventure.
    http://tab.thinbasic.com - Home Of The ThinBasic Adventure Builder Project. (Interactive Fiction/Text Adventure Maker)

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

    Re: thinBasic Beta 1.8.6.0

    Forgot to say this version already has some kind of "implicit line continuation".

    The general rule is:
    • if statement (line) ends with a delimiter (a comma, a math operator, ...) parser will ignore $CRLF and will continue parsing next line.
      In the bove cases underscore sign (used to indicate line continuation) is not necessary.


    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

  9. #9
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,128
    Rep Power
    732

    Re: thinBasic Beta 1.8.6.0

    Quote Originally Posted by Eros Olmi
    Forgot to say this version already has some kind of "implicit line continuation".

    The general rule is:
    • if statement (line) ends with a delimiter (a comma, a math operator, ...) parser will ignore $CRLF and will continue parsing next line.
      In the bove cases underscore sign (used to indicate line continuation) is not necessary.

    This might be little step for parser, but giant step for mankind ThinBASIC coders.
    Thank you very much, just tried it and works great!


    Petr
    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

  10. #10

    Re: thinBasic Beta 1.8.6.0

    i agree with Petr, this is a giant step for (basic languages), i have not seen this in basic languages at all,
    to illustrate visually, the following code resemble a man using this feature, the answer is 90
    from now on i am sure the other basics will imitate this.
    ps : it should give 81, i have confirmed by using perl, i was using 9+ at the end, now giving the right answer 81
    [code=thinbasic]Dim a As Long
    a = 1 +
    2+3+4+
    5+6+7+8+9+
    0+0+0+0+0+
    1+2+3+4+
    5+
    1 +1+
    1 +1+
    1 +1+
    1 +1+
    1 +1+
    1 +1+
    9


    MsgBox 0, a



    [/code]

Page 1 of 4 123 ... LastLast

Similar Threads

  1. thinBasic Beta 1.8.2.x
    By ErosOlmi in forum thinBasic Beta testing
    Replies: 13
    Last Post: 21-06-2010, 10:10
  2. thinBasic Beta 1.8.1.x
    By ErosOlmi in forum thinBasic Beta testing
    Replies: 21
    Last Post: 17-06-2010, 18:24

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
  •