Parameter entry dialog – Slick EDIT V3.3 User Manual

Page 126

Advertising
background image

We call the process of creating new files from a template "instantiating a template". When a template is
instantiated, you are prompted for the name of the new item. This name is often used heavily in the tem-
plate. For a class template, the name will likely be the class name or a part of the class name. In the
sample template, $safeitemname$ is a form of this name that strips out any spaces, making it safe to
use as part of an identifier. This value can even be used as part of the file name when the template is in-
stantiated.

If any of the values in the template are not known at instantiation time, the Parameter Entry dialog box,
shown below, will prompt you for values.

Figure 6.12. Parameter Entry Dialog

Instantiating a Template

104

Advertising