Problem as follows:
I create from pb-module a new UDT, like
Local myUDT, myData as String
myUDT="Type t_Test" & $CRLF & _
"lNum_A as Long" & $CRLF & _
"lNum_B as Long" & $CRLF & _
"bX As Byte" & $CRLF & _
"bY As Byte" & $CRLF & _
"bZ As Byte" & $CRLF & _
"End Type" & $CRLF
I have some data in memory, to simplify it in this example i use a string here
myData = MKL$(1000) & MKL$(2000) & " @`" ' = 32, 64, 96
' then i create the udt in thinbasic through the module:
now i am stuck!
How can i dimension from pb-module an absolute tb-variable of t_Test at StrPtr(myData) ?
Bookmarks