Rene,
For me, all your links in this topic get a '404 Not Found' error???
Bill
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:
Help says, there can be another Type in some Type - but it should tell explicitely that it can be done this way too.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
____________________________________________________
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
Rene,
For me, all your links in this topic get a '404 Not Found' error???
Bill
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
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
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) <<< ???
Last edited by ReneMiner; 27-08-2013 at 11:44.
I think there are missing some Forum-sections as beta-testing and support
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?
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
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:
now runs fine again.RoundPolygon hDC, nRound, %BLUE, tLine, Punts, iStyle, showVertex ' change to RoundPolygon( hDC, nRound, %BLUE, tLine, Punts, iStyle, showVertex )
Last edited by ReneMiner; 01-09-2013 at 09:58.
I think there are missing some Forum-sections as beta-testing and support
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.
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
Bookmarks