New IDECODE$() and IDEFILENAME$() functions
To make it easier to create utilities that integrate with the Liberty BASIC editor we have added two new functions:
idecode$() - This function returns the code in the Liberty BASIC editor as a single string. Once you have this you can read the code and parse it, generate other code from it, format it, print it, etc.
idefilename$() - This function returns the full path and filename of the file that is being edited in the Liberty BASIC editor. As an example use, you may want to generate a file from the code in the editor (get it using the idecode$() function), and then produce a new file from that. Then use the idefilename$() function to grab the filename and make a new name from that so you can save the file. For example if your source file is myProg.bas, you can change the extension to make a new file, say myProg.report or whatever you like.
The concept is to create the utility and then make a TKN file from it. Then add that as a utility by using the Setup menu and External Programs item. Then it will appear as an item in the Run menu.