Is there an easy way to get a String that is stored in a Bank?
I am receiving a large amount of data from a dll into blitz via a Bank.
I can extract integer data and float data ok, but I can't extract a string (easily).
What I want to do is something like this ..
my_str$ = PeekString(my_bank, offset)
This would read from offset to a null-terminator.
I have got around this by using PeekByte and converting it to an ascii char and then concatenating them all together. This seems a bit contrived.
Any better suggestions?
I am receiving a large amount of data from a dll into blitz via a Bank.
I can extract integer data and float data ok, but I can't extract a string (easily).
What I want to do is something like this ..
my_str$ = PeekString(my_bank, offset)
This would read from offset to a null-terminator.
I have got around this by using PeekByte and converting it to an ascii char and then concatenating them all together. This seems a bit contrived.
Any better suggestions?