|
The Structure of a Project |
Top Previous Next |
A project is a collection of related files and resources, which are then compiled into one final binary file, uploaded onto a target and run. It includes actual source files, HTML files (if any), images (if any), etc.
The actual parts of a project are:
|
Project file: A single file with a .tpr extension. Contains project settings, and a list of all files included with the project. |
||||
|
Header files: Multiple files with a .tbh extension. Used for inclusion into other files; usually contain declarations for global variables, constants, etc.
|
||||
|
BASIC files: Multiple files with a .tbs extension. Contain the actual body of your program. |
||||
|
HTML files: Multiple files with an .html extension (displayed with the currently associated icon). Contain webpages to be displayed by the embedded webserver. These can include blocks of Tibbo Basic code. See Working with HTML.
|
||||
(Any icon) |
Resource files: Multiple files without any set extension. Contain resources (such as images) needed for other files. Some resource files (.cfg, .txt, .ini) can be edited from within TIDE:
|
|
Note that the only really set extension is the one for the project file -- tpr. This file contains references to the other files within the project. These may use any extension, as long as their type is correctly stated in the project file (this is selected when adding the file, as described here). The extensions above are the default extensions which are associated with TIDE, and we recommend maintaining them. |
The project path is a folder containing all the files described above.