Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: thinBasic Beta 1.9.6.0

Hybrid View

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

    thinBasic Beta 1.9.6.0

    thinBasic Beta 1.9.6.0

    Download from: http://www.thinbasic.biz/projects/th...ic_1.9.6.0.zip


    This is a real Beta in the sense there is a lot of new features all (more or less) to be finished and fully documented.
    So, please use this version only for testing and not for real production scripts.


    Have a look and please report any impression/problem/likes always remembering it is a beta!!!!!


    This is an emergency update over thinBasic Beta 1.9.5.0

    Fixed some bugs
    Added latest TBGL module from Petr Schreiber




    Known bugs:
    among others (I hope not so many) I know there is a bug in this version when creating bundled exe. Some process can sometimes fail due to incorrect TOC inside Exe. I'm working on solving this problem asap.



    Ciao.
    Eros
    Last edited by ErosOlmi; 05-05-2013 at 21:01.
    www.thinbasic.com | www.thinbasic.com/community/ | psch.thinbasic.com
    Win10Pro 64bit - 8GB Ram - Intel i7 M620 2.67GHz - NVIDIA Quadro FX1800M 1GB

  2. #2
    Eros: I've only done a very quick test, nothing exhaustive, but it seems to have cleared up my reported problem nicely. Thank you so much for working out this fix. I well know what a pain it can be to chase and fix bugs in old releases that you'd like to keep frozen while you work on your next 'real' release. This is much appreciated.

    If anything turns up in further testing, I'll get back to you.

    George

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

    To be able to test embedding features, thinBasic Core Engine is now included into thinAir editor as scripting engine, more or less like you are doing with your SPFLite editor.
    This will allow me to fully test thinCore as scripting language and, in future releases, to add scripting features to thinAir editor.

    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

  4. #4
    Eros: Sounds good for thinAir. So far, my experience with using thinBasic in embedded mode has been excellent. It has worked flawlessly (other than this little USES problem) and creating the private functions to interface with SPFLite has been so simple it's hard to believe. Yes, SPFLite is written in PowerBasic which makes this so easy, but your basic design for all this has stood up very well, you are to be congratulated.

    George

  5. #5
    Member
    Join Date
    Nov 2012
    Location
    Missouri, USA
    Posts
    113
    Rep Power
    23
    Eros,

    I am curious. Here we are at 1.9.6.0 Beta, and the latest stable version is 1.8.9.0. How does
    it make you feel that number six(6) on the "Most Viewed Threads" list is thinBasic beta 1.7.10.0?
    You know something, I'll just consider the list as outdated.

    Bill
    Last edited by Billbo; 06-05-2013 at 00:36.

  6. #6
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    50
    Posts
    8,198
    Blog Entries
    2
    Rep Power
    10
    because that version remained a lot the current version.
    So many users opened it and forum counters ... counted. If you look at that thread you will see it has 15 pages of posts.
    Last edited by ErosOlmi; 06-05-2013 at 00:52.
    www.thinbasic.com | www.thinbasic.com/community/ | psch.thinbasic.com
    Win10Pro 64bit - 8GB Ram - Intel i7 M620 2.67GHz - NVIDIA Quadro FX1800M 1GB

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

    You are a great discovery man.

    No, I'm sorry, this is not the dynamic text code execution functionality you was waiting, but I'm working on that and in future beta updates you will start to see something.

    What I started to add into thinAir is the ability to script/automate thinAir using thinBasic Core engine.
    For the moment is just a small start whose target is to verify this possibility and solve top problems.

    To test a script working from inside thinAir, open the script you mentioned above an than right click on its Tab and choose "execute as scripting ..." (Or something like that, I'm traveling to work right now and I do not remember exact menu text). The script will be loaded and executed from inside thinAir allowing thinAir to add new functionality on the fly (the new undocumented functions whose name start with thinAir_ ...)

    More info in next update.

    Ciao
    Eros




    Sent from my iPhone using Tapatalk
    www.thinbasic.com | www.thinbasic.com/community/ | psch.thinbasic.com
    Win10Pro 64bit - 8GB Ram - Intel i7 M620 2.67GHz - NVIDIA Quadro FX1800M 1GB

  8. #8
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    6,800
    Blog Entries
    3
    Rep Power
    694
    I am really curious how far the ThinBASIC embedding could be pushed. I consider this area very interesting.

    For random forum visitors - this release contains updated TBGL module with support for Drag&Drop. If you ever tried to do this using Win32 API, you are probably gray haired man now. With TBGL, it gets more simple:

    Step #1: Subscribe for receiving notification about files being dragged to your window
    ' -- The following enables programmer to handle dropping files to window
    ' -- The window is identified via hWnd handle
    ' -- Once the event occurs, the function Main_OnDropFiles will be launched
    TBGL_BindWindowEvent(hWnd, %TBGL_OnDropFiles, Main_OnDropFiles)
    
    Of course -the function does not need to be called Main_OnDropFiles, you are free to choose any other function name.

    Step #2: Handle the event
    ' -- Function fired thanks to previous bind using TBGL_BindWindowEvent
    Function Main_OnDropFiles()
      
      ' -- Retrieve number of files
      Long nFiles = TBGL_OnDropFiles_GetFileCount()
      Long i
    
      ' -- Iterate through all of them and list their names
      For i = 1 To nFiles
        MsgBox TBGL_CallingWindow, "File " + Format$(i) + " is " + TBGL_OnDropFiles_GetFileName(i)
      Next
    
    End Function
    

    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

  9. #9
    thinBasic MVPs
    Join Date
    Oct 2012
    Location
    Philippines
    Age
    48
    Posts
    1,218
    Blog Entries
    1
    Rep Power
    133
    Some nosy question here: I checked the inc/lib-folders for freeimage - there's none inside...haven't they been there before some time?


    so I downloaded from sourceforge and play around with the vb-wrapper in thinAir

    ... now there are a few things inside that let me wonder a little bit, a couple of very specific types and constants that become blue and bold... so is there some FreeImage-module or new wrapper planned? Or this just coincidences?
    for example this:
    %BLACKONWHITE  ' As Long = 1
    %WHITEONBLACK  'As Long = 2
    %COLORONCOLOR ' As Long = 3
    
    'or 
    Type RGBQuad
    Type RGBTriple
    
    become bold'n blue.
    might I just make seperate constants or take them as they are in tB? - Or should I stop playing around with that wrapper?
    Last edited by ReneMiner; 07-05-2013 at 14:35.
    [TABLE="class: tblf1 tblf-fullwidth tblf-alternate"]
    [TR]
    [TD][COLOR=#b22222][B][SIZE=1]The limit is[/SIZE][/B][/COLOR][/TD]
    [TD="class: isRelinked"] [COLOR=#0000cd][B][SIZE=1]Imagination[/SIZE][/B][/COLOR][/TD]
    [/TR]
    [/TABLE]

  10. #10
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    50
    Posts
    8,198
    Blog Entries
    2
    Rep Power
    10
    Yes, they are defined into UI module.

    Regarding FreeImage I had some ideas in the past but very little time to work on it.
    I wanted to create a thinBasic module.

    I have the attached INC file, quite old.
    Maybe it can help.
    Attached Files Attached Files
    www.thinbasic.com | www.thinbasic.com/community/ | psch.thinbasic.com
    Win10Pro 64bit - 8GB Ram - Intel i7 M620 2.67GHz - NVIDIA Quadro FX1800M 1GB

Page 1 of 2 12 LastLast

Similar Threads

  1. thinBasic Beta 1.8.8.0
    By ErosOlmi in forum thinBasic Beta testing
    Replies: 14
    Last Post: 25-06-2011, 19:24
  2. thinBasic Beta 1.8.4.x
    By ErosOlmi in forum thinBasic Beta testing
    Replies: 8
    Last Post: 29-06-2010, 15:50
  3. thinBasic beta 1.7.10.3
    By ErosOlmi in forum thinBasic Beta testing
    Replies: 4
    Last Post: 27-02-2010, 01:44
  4. thinBasic beta 1.7.10.0
    By ErosOlmi in forum thinBasic Beta testing
    Replies: 147
    Last Post: 02-02-2010, 01:25
  5. thinBasic beta 1.7.9.0
    By ErosOlmi in forum thinBasic Beta testing
    Replies: 3
    Last Post: 25-08-2009, 13:58

Posting Permissions

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