Results 1 to 5 of 5

Thread: ThinBASIC 1.9.15.0

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

    ThinBASIC 1.9.15.0

    ThinBASIC 1.9.15.0

    Download from: http://www.thinbasic.biz/projects/th...c_1.9.15.0.zip


    This Version introduced 3 great new changes:


    • new Bundle process completely redesigned and re-engineered that will (hopefully) give a stop to all previous problems users had with Bundling ThinBASIC scripts
      Version info, personalized executable icon, secure and fast compile process, no more ThinBASIC.Exe as a main process but directly your executable name.
      ThinBASIC Bundled executable will never be expanded into executable directory but each of them will have its own temp directory allowing execution without interfere with each other
    • new Template file structure: now we use XML for great compatibility and future enhancements
    • new Template window, the window that appears when you ask New Script (or press F2).
      It is still to be finished but it will give you the idea of what the new XML template file structure can allows


    Plus:
    • some fixes and new functionalities
    • latest Oxygen module
    • latest TBGL module

    See help for details.
    Attached Images Attached Images
    Last edited by ErosOlmi; 05-11-2015 at 19:30.
    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,777
    Rep Power
    10
    More info about new Bundling options can be found in Help: http://www.thinbasic.com/public/prod...thinbundle.htm

    A little script example showing new #BUNDLE options.
    Those options will be interpreted by Bundle procedure and used before creating executable.
    Icon can also be changed at Bundling time directly into Bundle dialog.

    All those options can now be easily inserted once and for all into your script and maintained directly while you code your source.

    Uses "Console"
    
    '#SCRIPTVERSION 1.5.6.7
    'APP_SetScriptVersion (1, 5, 6, 7)
    
    '---Optional name of the output executable
    '---Full or relative path can be indicated.
    '---If output path does not exists, it will be created
    #BUNDLE Name ".\MyFirstApplication" 
    
    '---Name of the executable icon (any Windows supported formats)
    '---Full or relative path can be indicated
    #BUNDLE Icon "Application2.ico"
    
    
    '---Supported executable Version info to include into the executable
    #BUNDLE Version "Comments"         , "Test script for testing thinBundle"
    #BUNDLE Version "CompanyName"      , "ThinBASIC"
    #BUNDLE Version "FileDescription"  , "Test script for testing thinBundle"
    #BUNDLE Version "LegalCopyright"   , "Copyright 2014 All right reserved"
    #BUNDLE Version "LegalTrademarks"  , "Legal Trademarks can be found on the web site"
    #BUNDLE Version "ProductName"      , "Application"
    
    #BUNDLE Version "ProductVersion"   , "1.3.0.1232"
    #BUNDLE Version "FileVersion"      , "1.3.0.12"
    
    PrintL "I'm inside script executed from inside application"
    PrintL "---Press any key to continue---"
    
    WaitKey
    
    Last edited by ErosOlmi; 11-01-2015 at 18:10.
    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
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,128
    Rep Power
    732
    Those who want to stay connected, may consider joining the ThinBASIC club at Facebook:
    https://www.facebook.com/groups/6473307475/

    All the announcements are made there too, so you will never miss a release.

    Whole 2015 is ahead, and with lot of stuff to look forward to!


    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

  4. #4
    Junior Member porcelain_tree's Avatar
    Join Date
    Nov 2012
    Location
    Beausejour, Manitoba, Canada
    Posts
    14
    Rep Power
    13
    The new Bundle process is awesome. And I love adding a program icon.

    One issue I thought I'd mention (related to a thread I started some time back). I had been calling functions and assigning the value like this:

    x = my_function

    This worked fine in 1.8.9.0, both in IDE and as an EXE. In all of the subsequent betas, including 1.9.15.0, it ran fine from the IDE, but as an EXE it would crash without an error report. Eventually I noticed that the help file states that the proper syntax is:

    call my_function to x

    Aha! When I changed my code, my program runs perfectly fine in the IDE and as an EXE bundle. Nice.

    The upshot is that I think it would be nice if the betas either (a) accepted my original syntax, like v1.8.9.0 did, or (b) detected and flagged the bad syntax.

  5. #5
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10
    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

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
  •