This is a BASIC tokeniser/detokeniser, written in BASIC, using BASIC's own routines to do the job. They were written very quickly and if you don't like them feel free to improve them. It's not like they're hard to make work. 2 hours writing time, tops (whilst also debugging larger stuff). Please feel free to use the examples and code as you see fit. They're not under the GPL.