Liberty BASIC Help Online |
---|
Lesson Browser Setup
Liberty BASIC includes a lesson browser. The lesson browser has the ability to link tutorials and comments with executable code, making it a perfect venue for creating lessons and demonstration programs. If a file selected with OPEN from the FILE menu has an extension of "lsn", it will open in the lesson browser.
Here is the Liberty BASIC lesson browser in action:
The left side of the lesson browser has a Table Of Contents (TOC). There are chapters, and sections inside the chapters. Clicking on one of the names in the TOC causes that part of the lesson to display. The text or comments for the lesson will display in the upper right pane. The comments can be scrolled if the text doesn't all fit in the pane. Any accompanying code goes in the bottom right pane. Choosing RUN, either with the RUN button on the toolbar, or the RUN command in the RUN menu, causes the code in the code pane to be executed. The code can be modified as desired, and run multiple times.
Writing Lessons
A new lesson can be created by selecting NEW from the FILE menu, which offers the choice of creating a new BASIC program, or a new LESSON. If LESSON is chosen, a default empty lesson displays in the lesson browser. It looks like this:
Copyright (C) 2003 Shoptalk Systems
Liberty BASIC - http://www.libertybasic.com/