User`s guide

save
Purpose Save les and projects in CCS IDE
Note save(cc,filename,'text') produces an error.
Syntax save(cc,'filename','type')
Description save(cc,'filename','type') save the le in CCS IDE id entied by
filename of ty pe type’. type iden ti esthetypeofle to save, either
project les when you use
project' for type, or text les when you use
'text' for the type option. To save a specic le in CCS IDE, filename
must match the name of the le to save exactly. If you replace filename
with 'all', save writes every open lewhosetypematchesthetype
option. File types recognized by save include these extensions.
type String Affected files
'project'
Project les with the .pjt extension.
'text'
All les with these extensions a*,.c,.cc,.ccx,
.
cdb,.cmd,.cpp,.lib,.o*,.rcp,and.s*.Notethat
'text' does not save .cfg les.
When you replace filename with the null entry [], save writes to
storage the current active le window in CCS IDE, or the active project
when you specify
project for the type option.
Examples To clarify the different save options, here are commands that save open
les or projects in CCS IDE .
Command Result
save(cc,'all','project')
Save all open projects in
CCS IDE.
save(cc,'my.pjt','project')
Save the project my.pjt.
save(cc,[],project')
Save the active project.
7-145