Using a Different Code Editor

You may use a third-party editor to create and modify Liberty BASIC code. You can even write your own code editor in Liberty BASIC! In order to run the code with Liberty BASIC from another program, use the following command line switches when starting LIBERTY.EXE:

-R Run a BAS file on startup

-D Debug a BAS file on startup

--------the following three are in the registered version only--------

-T Make a TKN file from a BAS file on startup

-A Automatically Exit LB on completion of BAS file

-M Minimize the Liberty BASIC editor on startup

Examples:

 LIBERTY -R -M PROG.BAS  Run PROG.BAS with editor minimized
 LIBERTY -T -A PROG.BAS  Create a TKN file from PROG.BAS then exit
 LIBERTY -D PROG.BAS  Run the debugger on PROG.BAS

As these examples appear when written as code in a Liberty BASIC program:

 RUN "LIBERTY -R -M PROG.BAS"  Run PROG.BAS with editor minimized
 RUN "LIBERTY -T -A PROG.BAS"  Create a TKN file from PROG.BAS then exit
 RUN "LIBERTY -D PROG.BAS"  Run the debugger on PROG.BAS