The first new feature is a window that displays the BASIC program currently in memory. The window is scrollable making it very easy to examine a program, and clicking on a line will show the memory range occupied by that line. The program listing can be saved out as a .bmp image file or as a text file. When saving to a text file, Sinclair graphic characters are encoded according to the scheme used by the ZXText2P utility, with additional new encoding tags used to support machine code bytes in REM statements and keyword tokens in strings (by outputting them as hex values). Variable names may be output in lowercase to ensure that they can always be differentiated from identically spelled keywords.
The second new feature is the ability to read in a BASIC listing from a text file and to automatically convert it into a program file. Any word matching one of the BASIC keywords will be tokenised, apart from those found within REM statements and within strings. All lines must be formatted exactly as they would appear on the target computer, i.e. keywords in uppercase with spaces before and after them (as applicable), and any additional spaces present within a BASIC line will be retained in the converted program. However, a number of options are available to control how a listing is interpreted. Keywords present in REM statements and strings may be interpreted as simple text or translated into tokens, and surplus spaces within statements may be kept or discarded. Keyword matching may be relaxed to tolerate missing spaces or to accept alternate spellings, e.g. GOTO instead of GO TO, PRINT"..." instead of PRINT "...", RAND instead of RANDOMISE, keywords in lowercase instead of uppercase. Support is included to import BASIC listings that use labels instead of line numbers, following the syntax used by ZXText2P. This feature may be useful when creating new programs as it allows lines to be inserted and deleted without having to worry about the impact on the line numbering. It is also possible to use labels and line numbers in the same program thereby ensuring specific lines use particular line numbers, which might be useful for computed GOTOs and GOSUBs.
The new facilities are only available for the Sinclair branded ZX80, ZX81 and Spectrum models. Support for the various clone models will be included in a future release.
Should you get the urge to start typing up old magazine program listings in Notepad (or your text editor of choice) then please consider contributing the converted programs to the Type Fantastic website and help get every magazine program available in electronic format!