Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 30

Thread: thinBasic Beta 1.9.7.0

  1. #11
    thinBasic MVPs
    Join Date
    Oct 2012
    Location
    Germany
    Age
    54
    Posts
    1,525
    Rep Power
    170

    Help-improvements 1.9.7.0

    Collect some stuff for the help-file here:

    Undocumented great feature...

    I recently learned by a coincidence from Petr that a Type can be squeezed into another Type just as this:

    Type Vector2d
      X as Double
      Y as Double
    End Type
    
    Type Vector3d
      Vector2d
      Z as Double
    End Type
    
    dim foo as Vector3d
    
    foo.X = 1.23
    foo.Y = 2.34
    foo.Z = 3.45
    
    Help says, there can be another Type in some Type - but it should tell explicitely that it can be done this way too.
    ____________________________________________________
    Still missing:

    Navigation: thinBasic Modules > Core (thinBasic Core Engine) > String functions > MKx ...
    see also: CVx

    Navigation: thinBasic Modules > Core (thinBasic Core Engine) > Numeric functions > CVx ...
    see also: MKx

    ____________________________________________________
    Edit: Just saw that the ^-Exponent has been fixed already but I forgot to mention that also in \ and / operators-text is a *
    Last edited by ReneMiner; 25-06-2013 at 09:50.
    I think there are missing some Forum-sections as beta-testing and support

  2. #12
    Member
    Join Date
    Nov 2012
    Location
    Missouri, USA
    Posts
    113
    Rep Power
    29
    Rene,

    For me, all your links in this topic get a '404 Not Found' error???

    Bill

  3. #13
    thinBasic MVPs
    Join Date
    Oct 2012
    Location
    Germany
    Age
    54
    Posts
    1,525
    Rep Power
    170
    Hi Bill, these are no links - I just copied & pasted the top line of the help-topics page from offline manual - so this lines appear colored here. You'll have to open the (offline) help yourself. The online documentation is still version 1.8.something (latest stable release) while this is about Beta 1.9.7
    I think there are missing some Forum-sections as beta-testing and support

  4. #14
    thinBasic MVPs
    Join Date
    Oct 2012
    Location
    Germany
    Age
    54
    Posts
    1,525
    Rep Power
    170
    add one more to help:

    the |-operator seems to be undocumented.

    the one I use for example if I open a window like this:
    ...%WS_Border | %WS_...
    
    I think there are missing some Forum-sections as beta-testing and support

  5. #15
    thinBasic MVPs
    Join Date
    Oct 2012
    Location
    Germany
    Age
    54
    Posts
    1,525
    Rep Power
    170
    One more help-file-typo:

    Navigation: thinBasic Modules > UI (User Interface) > Additional Controls and Functions > PropertyList Control > PropertyRoot_Free


    Description

    Free a list of property items.

    Syntax

    PropertyRoot_Create(pRoot) <<< ???
    Attached Images Attached Images
    Last edited by ReneMiner; 27-08-2013 at 11:44.
    I think there are missing some Forum-sections as beta-testing and support

  6. #16
    Junior Member porcelain_tree's Avatar
    Join Date
    Nov 2012
    Location
    Beausejour, Manitoba, Canada
    Posts
    14
    Rep Power
    13

    1.9.7.0 crashes

    I've been writing an audio program using TBASS that runs just fine on 1.9.6.0, but crashes immediately on 1.9.7.0. It goes directly to the Windows "thinbasic.exe has stopped working" message. I'm running Win 8.1 Preview, but get the same in Win 8.0.

    My question: is there a way to generate a log so that you can diagnose the problem? I seem to recall seeing mention of that feature, but can't find it. Or is there a way to create a useful memory dump?

  7. #17
    thinBasic MVPs
    Join Date
    Oct 2012
    Location
    Germany
    Age
    54
    Posts
    1,525
    Rep Power
    170
    At least you could run it stepping through with F8-key in Debug-Mode to find out what triggers the problem - sorry that I don't have any better advice than that.

    I experienced also strange crashes lately that were caused by omitted parenthesis on functions that take optional parameters. If not all parameters are used and parenthesis were omitted, in some case the line-continuation leads to pick just the first expression on the next line - whatever it is- as next optional parameter - whether it makes sense or not - so functions get called using wrong or invalid optional values.
    Last edited by ReneMiner; 01-09-2013 at 07:12.
    I think there are missing some Forum-sections as beta-testing and support

  8. #18
    thinBasic MVPs
    Join Date
    Oct 2012
    Location
    Germany
    Age
    54
    Posts
    1,525
    Rep Power
    170
    To give an example:

    Check out shipped sample script found in
    c:\thinBasic\SampleScripts\UI\Canvas\Bezier\Canvas_Bezier.tBasic:

    run in version 1.9.7. and try to drag a corner of the shown figure...crash... it tells the "Exit For" would be an invalid argument type - seems it tries to "add" it to the last parameter in the line above - thereafter "thinBasic stopped working"...

    check the codeline above Exit For (around 286) in Sub MouseMove, the one that reads:
    RoundPolygon hDC, nRound, %BLUE, tLine, Punts, iStyle, showVertex 
    ' change to
    RoundPolygon( hDC, nRound, %BLUE, tLine, Punts, iStyle, showVertex )
    
    now runs fine again.
    Last edited by ReneMiner; 01-09-2013 at 09:58.
    I think there are missing some Forum-sections as beta-testing and support

  9. #19
    Junior Member porcelain_tree's Avatar
    Join Date
    Nov 2012
    Location
    Beausejour, Manitoba, Canada
    Posts
    14
    Rep Power
    13
    Good idea. My program crashes quickly, so hopefully it won't take long to F8 to the error. I'll post again with my results, maybe tomorrow. Thanks for the help.

  10. #20
    thinBasic MVPs
    Join Date
    Oct 2012
    Location
    Germany
    Age
    54
    Posts
    1,525
    Rep Power
    170
    You could be a "victim" of one of these issues:

    Issue #1
    Issue #2

    but the described samples don't make tB crash - they just don't run/ don't play music/ fail to load data or fail to return a correct result.

    I also made some games using TBASS-module in a tB-version previous 1.9.7. - and these still run and have sound. As said above I experienced crashes on scripts which run in 1.9.6 without any problems - all caused by calls without parenthesis to subs/functions that have optional parameters and the fix is: use parenthesis in such calls.

    Perhaps the problem is caused by some (undocumented?) fix of THIS - the problem described there is not reproduceable any more...
    Last edited by ReneMiner; 04-09-2013 at 08:49.
    I think there are missing some Forum-sections as beta-testing and support

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Beta testing thinBasic Beta 1.9.5.0
    By ErosOlmi in forum thinBasic Beta testing
    Replies: 4
    Last Post: 18-04-2013, 13:28
  2. thinBasic Beta 1.9.4.0
    By ErosOlmi in forum thinBasic Beta testing
    Replies: 15
    Last Post: 26-03-2013, 18:45
  3. thinBasic beta 1.8.5.0
    By ErosOlmi in forum thinBasic Beta testing
    Replies: 1
    Last Post: 06-07-2010, 05:43
  4. thinBasic beta 1.7.10.1
    By ErosOlmi in forum thinBasic Beta testing
    Replies: 11
    Last Post: 08-02-2010, 07:09
  5. thinBasic beta 1.7.9.0
    By ErosOlmi in forum thinBasic Beta testing
    Replies: 3
    Last Post: 25-08-2009, 13:58

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
  •