This would be very useful. Even if this meant converting the string to a Byte[array] with a null char (0) at the end.
I think a lot of people would benefit from some basic form of string handling.
This would be very useful. Even if this meant converting the string to a Byte[array] with a null char (0) at the end.
I think a lot of people would benefit from some basic form of string handling.
That's what a lookup table does, and picBASIC supports that.
If not, it's not a difficult task to do with some inline assembler.
Any string in an 8 bit pic is stored as a byte array.
ASCII characters exist only in your imagination, certainly not stored in memory.
Last edited by Art; - 14th May 2008 at 06:20.
Bookmarks