Partners
WndTabs
CvsIn
Main Page
News

Features
History
Known Issues
FAQ

Order
Downloads

Beta
WWhizInterface

Support
Links

Other Add-ins
Misc. Code

Features
Template Files

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...


Copyright © 2000-2007 Joshua C. Jensen