|
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. Projects include actual source files, HTML files (if any), images (if any), etc.
Your project's files come from two distinctive places: the project folder and the source libraries folder. Files in the project folder are really "your" project's files. Your project may (and should) make use of free libraries provided by Tibbo. You don't have to copy library files into your project folder -- you can add them directly into you project (see Adding, Removing, and Saving Files, "Adding existing files to your project").
|
Want to modify a library? Then you really better copied this library's files into your project's folder. It is a very bad practice to modify the files in the library folder. |
Here are the files that form a project:
|
Project file: A single file with a .tpr extension. Contains project settings, and a list of all files included with the project. You don't have to edit this file manually -- TIDE handles it for you. This file is always kept in the project folder. |
||||
|
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 of your device. These can include blocks of Tibbo Basic code. See Working with HTML.
|
||||
(Any icon) |
Resource files: Multiple files without any preset 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 fixed extension is the one for the project file -- tpr. This file contains references to 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 keeping them. |