|
BASIC_Tool
#This page will is a brief description of the BASIC Code Tools we had made. IntroductionEven though BASIC code is quite easy to write, changing and maintaining a program written in BASIC might not be so easy. With that in mind we started to wrote a set of tools to make Basic code programming a bit easier. We haven't programming the tools yet, but we want to give our users a snapshot of our tools. What you get from this set of tools?This set of tools include functions to find calls to a line in a file, find empty lines, move lines around the code, suppress empty lines in a block of line and file parsing for uploading. As you can see you get some useful tools, specially for two of them lines moving and empty line suppressing. Getting the ToolsYou can Download the tools from Here. In order to use the tools you will require Java 1.6 which you can get from here. UsageIn order to run this tools you will need to open a console on your OS, on Windows you can use CMD (START->EXECUTE cmd), under Linux you can use KConsole, or any other console, and under Mac you can use Terminal. Future versions of this tools will get integrated with JEdit and you will not need to use the command line any more. Commandsf find calls in fileThis command will find where each line is called. Usage: java -jar aircabletools.jar f <Line Number> <file> i print full interrupt codeThis command will print all the code that a given interrupt executes. Usage: java -jar aircabletools.jar i <Inquiry Name> <file> Note: Not working all right e find empty linesThis command will find all the lines that are empty on a file. This is useful when you don't know if you have space or not in a Basic file. Usage: java -jar aircabletools.jar e <file> m move linesThis command will move a given block of code to a new line. Usage: java -jar aircabletools.jar m <file> <start> <end> <New Line> Note: This command is not working all right, when you want to move a piece of code, firstly move it to a piece of code that is prohibited (lines over 1025) and then get that piece of code back to the place you wanted to place it. s supress spacesThis command suppress empty lines in a block of code. Usage: java -jar aircabletools.jar s <file> <start> <end> p parse file for uploadingThis command will suppress all the spaces and comments in a file so you can upload it to a device more quickly. Usage: java -jar aircabletools.jar s <In File> <Out File> make make binary folder for distributionThis command will take a folder and will generate the binary file for each device. It is mean for internal use of the company, it will only work with the folder structure of our subversion server. The output folder must be outside the input folder. Usage: java -jar aircabletools.jar make <In Dir> <Out Dir> ContactIn case you have further questions about our tools, specially the ones described here, you can contact by email to the author: manuel_at_aircable_dot_net. Just replace at for @ and dot for . , or click here |