Figure 1. |
|
Section |
Description |
| 1. Toolbar | A lot of your more common functions and tools are found here. Everything from creating a new document/project, to editing palettes. The Jump to Routine will jump you to any "Declare [sub/function] <routine>" line.
|
| 2. Document Tabs | Whenever you open an editable document, a tab will be created on top. If any changes are unsaved to that document, it will be indicated with a "*". You can right click on the tabs to display a menu to allow you to save or close the document.
|
| 3. Project Explorer |
The Project Explorer is docked to the left side of the program window. This feature allows you to see any external files you've included, as well as let you change some properties of those files and the compiled
ROM. The Project Explorer is split into 2 halves, where the top half is like a file manager, and the bottom half displays the properties of the files. If you highlight the Project Name in the top half, you'll
see the properties for the project in the bottom half.
To update the values, you can double click on an item which will allow you to change and update the properties of the project or file. You can drag and drop any file (or CodeBox) to the editor window and it will automatically generate the code (with default values) and insert it where you dropped the file. Right clicking on any item in this list will also pop up a menu with options as well. This feature is only available in Project/Studio Mode.
|
| 4. Project Explorer Properties | This is the properties of the selected item from the Project Explorer list. Double clicking on a property will allow you to configure that property. Read only properties will display a message. This feature is only available in Project/Studio Mode.
|
| 5. Compiler Log |
The compiler log will tell you the status of the last compiled source. During compilation, you'll see the overall progress, the current step, the current scope (if you have included files or custom routines, it will specify which file or routine is currently compiling at the time), and the current line number.
If the compiler is idle, the scope will be IDE. If there are errors, the line numbers will be roughly 1 to 3 lines difference of what's stated. This is all dependent on options/configuration settings of the compiler. If you get an error on line 5, for example, check lines 2-4 and 5-8, just to be safe. This is being worked on to correctly identify lines. When an error is detected, you will get the line number (see above), error number, which file the error occured in, the scope where the error occured, and a description of the error. This feature can be hidden if you don't want to see it, or need more space for your editor windows.
|
| 6. Editor Window |
This is where you type all of your code. You'll see a status bar at the bottom that will tell you the size of your source code (in KB), your keyboard state for caps lock, num lock, and character insert, and the location of your project or source code file.
If you right click inside of the Editor Window, a pop-up menu will appear and give you some of the basic options from the toolbar and program menus, as well as an option to compile that specific source file, and if you have code selected, you can compile just the selected source. When compiling from the pop-up menu (either the current file, or the selected source), all auto included files in the Project Explorer will also be added (for Studio Mode/Projects only).
|
| 7. Object Explorer | The Object Explorer displays a list of commands, functions, and sytem variables that are supported in SecondBASIC Studio. You can drag and drop an item from this section into the code editor and you'll get an example of how to utilize that specific command or function. |