This is just a small code allows to convert a txt file into a Sam-basic file into the Sam Coupé or any emulator.

'load"txt2bas"' will load the converter, and at line 65276 the filename must be changed to convert your desired file,
and it's runned by entering 'goto 65275'.

This assumes all lines in the txt file are indexed below 65270, for not overlapping the converter.
this converter is still very embrionary, it still doesn't checks when the txt code is over, or handles the Sam Coupé.
memory in the best way, but it seems to be useful enough, since there is nothing similar to 'bas2tap' on Sam Coupé.
This converter were done for helping newbies like me! ;)

After the conversion, the code is ready to be saved, and the lines after 65270 can be deleted if wanted.

This were coded from a help from Colin Piggot, recalling me about the 'keyin' command, and me, Paulo Silva, doing all
the rest up to now!

