View Full Version : [Beta] thinBasic Beta 1.9.10.0
ErosOlmi
20-10-2013, 12:46
thinBasic Beta 1.9.10.0
Download from: http://www.thinbasic.biz/projects/thinbasic/thinBasic_1.9.10.0.zip
Quick and dirty fix over thinBasic 1.9.9.0 due to DIALOG UNIT ... TO PIXEL ... (and the other way round) bug.
Refer to beta thinBasic 1.9.9.0 for changes introduced over previous versions. (http://www.thinbasic.com/community/showthread.php?t=12256)
ReneMiner
20-10-2013, 13:00
thanks. :clapping:
What would I do without you?
...give up on coding probably
ErosOlmi
20-10-2013, 13:01
oops,
forgot to say in this version you can do things like that:
DIM MyString Like "String"
DIM MyLong Like "LONG"
DIM MyExt Like "E" & "X" & "T"
Also inside TYPEs
TYPE MyType
MyString Like "String"
MyLong Like "LONG"
MyExt Like "E" & "X" & "T"
END TYPE
The rule is:
DIM VarName Like [StringExpression]
where [StringExpression] is any string expression returning a base type supported by thinBasic.
For the moment nothing other than base numeric and string types.
ReneMiner
20-10-2013, 13:08
Wow! I love you!:excited:
Edit: Just saw after posting the limitations... and detected that instant assignement not works (yet) in all ways
String a = "Long"
Dim b Like a = 123 ' not working, b is 0 now
Dim c Like a Value 123 ' works!, c is 123
ErosOlmi
20-10-2013, 13:46
Dim b Like a = 123
will not work because (A = 123) is a valid string expression and it has precedence over variable declaration.
So = for initial assignment will not be supported by Like construct.
ReneMiner
22-10-2013, 14:04
Help-File: The description to Dialogs WS_ExStyle-Equates is messed up somehow8621(check image)
Style %WS_EX_LTRREADING is listed twice with different effects-description, (marked) - probably should the first of these be %WS_EX_RTLREADING - then it would make sense...