Code templates are specified in a template group file. The template
group file contains one or more templates.
The simplest form of template justs inserts a body of text directly
in the current source file.
[Hello World]
!!Code
#include <stdio.h>
main()
{
printf("Hello, world\n");
}
!!End
Through the use of template commands, more complex tasks can
be performed:
[Hello World Application]
!!Code
!!ProjectNew "HelloWorldApp" "c:\Projects" "Console Application"
!!FileNew main.cpp dsp
!!Call "Hello World"
!!End
The above example creates a console application called HelloWorldApp
in the c:\Projects directory. It then creates a file called
main.cpp in the project. Then, the template called Hello
World is executed, filling in the file with the basic "Hello,
world" application structure.
Next
Feature...