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:

 

tide_icon_tpr

Project file: A single file with a .tpr extension. Contains project settings, and a list of all files included with the project.

tide_icon_tbh

Header files: Multiple files with a .tbh extension. Used for inclusion into other files; usually contain declarations for global variables, constants, etc.

 

tide_icon_tbs

BASIC files: Multiple files with a .tbs extension. Contain the actual body of your program.

tide_icon_html

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:

.cfg, .txt, and .ini files are considered to be text files and can be edited using TIDE's built-in text editor.
.bmp, .jpg, and .png files are graphical files; these will be opened using TIDE's built-in image editor.

 

note_further-wt

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.