User`s guide
new
Caution After you create an object in CCS IDE, save the file in CCS
IDE.
new does not automatically save the file, and you lose your changes
when you close CCS IDE.
new(cc,'objectname') creates a project in C CS IDE, making it the
active project. When you omit the
type option, new assumes you are
creating a new project and appends the .
pjt extension to objectname
to create the project objectname.pjt.The.pjt extension is the only
extension
new recognizes.
Examples When y ou need a ne w project, create a link to CCS IDE and use the link
to make a n ew project in CCS IDE.
cc=ticcs;
cc.visible(1) % Make CCS IDE visible on your desktop (optional).
new(cc,'my_new_project.pjt','project');
New files of various types result from using new to create new active
windows in CCS IDE. For instance, make a new ANSI C source file in
CCS IDE with the following command:
new(cc,'new_source.c','text');
In CCS IDE you see your new file as the a ctive window.
See Also activate, close, save
7-96