DirectuX
17-06-2020, 08:29
' Minimal example
type ttest
myvar as Single
myvar2 as single
function _Create()
MsgBox 0, str$(assign(1.5, me.myvar)) ' error
'me.myvar2 = assign(2.5, me.myvar) ' error
End Function
End Type
dim testVar as ttest
unless I'm mistaken this is not reported in the list of known issues (https://thinbasic.github.io/book-thinbasic_user_defined_types/appendix-list-of-known-issues.html), so
who can confirm this code is correct ?
type ttest
myvar as Single
myvar2 as single
function _Create()
MsgBox 0, str$(assign(1.5, me.myvar)) ' error
'me.myvar2 = assign(2.5, me.myvar) ' error
End Function
End Type
dim testVar as ttest
unless I'm mistaken this is not reported in the list of known issues (https://thinbasic.github.io/book-thinbasic_user_defined_types/appendix-list-of-known-issues.html), so
who can confirm this code is correct ?