Txt2Bas related question?
Posted: Thu Jun 28, 2018 2:46 pm
Hello. I know there is an awesome EXE file txt2bas which enables me to convert plain txt to a Tap file.
But that's all it actually do;
It literaly converts any txt to a tap file.
Does not add line numbers, does not add nothing...
If (previously) in the source file was not added, for example:
10 DATA "...
(at the beginning of every line of the imported text)
Then - that text would result just in the
Syntax error
in a such created Tap file.
I am looking in the possibility of importing books, or other kind of reading material - in to the Euphoric emulator.
So - just an idea / question?
Is there an (allready - maybe) the easy way to do THAT?
For example - the utility similar to the allready existing txt2bas.exe.
But with the added features like the:
- Adding short viewer program at the beginning of the imported text so that the Euphoric can actually show and scroll trough the imported Text,
- Imported text maybe to be imported in DATA, or String (or some other, similar) format,
- To support maybe a simple Text Search (from within the TAP file created).
Yes I know Euphoric can handle only up to the about 40kb of DATA.
Approximatly 20 Word pages.
But, using it on Android - it IS easier (and - for me more apriciated) to read something - in my "own native" enviorment rather than using for example Microsoft product
For this purpose I at least use Excell on computer to:
- Add number rows for Euphoric, like:
1
2
3
4
5
and so on,
- Add DATA or WRD(N)$=" Rows, so it looks like:
1 DATA
or
1 WRD$(1)="...
- then add the row of text, splitted at the lines no larger than 25 characters...
- And then i convert that Excell workbook to a plain text,
- And then I use txt2bas.exe to convert that in to a tap file to have my "book" readable on Euphoric.
And this process can be a pain...
So.. maybe... Is there an easier way?
But that's all it actually do;
It literaly converts any txt to a tap file.
Does not add line numbers, does not add nothing...
If (previously) in the source file was not added, for example:
10 DATA "...
(at the beginning of every line of the imported text)
Then - that text would result just in the
Syntax error
in a such created Tap file.
I am looking in the possibility of importing books, or other kind of reading material - in to the Euphoric emulator.
So - just an idea / question?
Is there an (allready - maybe) the easy way to do THAT?
For example - the utility similar to the allready existing txt2bas.exe.
But with the added features like the:
- Adding short viewer program at the beginning of the imported text so that the Euphoric can actually show and scroll trough the imported Text,
- Imported text maybe to be imported in DATA, or String (or some other, similar) format,
- To support maybe a simple Text Search (from within the TAP file created).
Yes I know Euphoric can handle only up to the about 40kb of DATA.
Approximatly 20 Word pages.
But, using it on Android - it IS easier (and - for me more apriciated) to read something - in my "own native" enviorment rather than using for example Microsoft product
For this purpose I at least use Excell on computer to:
- Add number rows for Euphoric, like:
1
2
3
4
5
and so on,
- Add DATA or WRD(N)$=" Rows, so it looks like:
1 DATA
or
1 WRD$(1)="...
- then add the row of text, splitted at the lines no larger than 25 characters...
- And then i convert that Excell workbook to a plain text,
- And then I use txt2bas.exe to convert that in to a tap file to have my "book" readable on Euphoric.
And this process can be a pain...
So.. maybe... Is there an easier way?