User`s guide

new
Purpose Create and open text le, project, or build conguration in CCS IDE
Note new(cc,objectname,'text') produces an error.
Syntax new(cc,'objectname','type')
new(cc,'objectname')
Description new(cc,'objectname','type') creates and opens an empty object of
type named objectname in the active project in CCS IDE. The new
object can b e a text le, a project, or a build conguration. String
objectname species the name of the new object. When you create new
text les or projects,
objectname can include a full path description.
When you save your ne w proje ct or le, CCS IDE stores the le at the
processor o f the full path.
Ifyoudonotprovideafullpathforyourle,
new stores the le in the
CCS IDE working directory when you save it. New lesopenasactive
windows in CC S IDE; they are not placed in the active project folders
based on their le extension (compare to
add).
New build congurations always become part of the active project in
CCS IDE. Because build congurations always b eco m e part of a pro ject,
you only need to enter a name to distinguish your new conguration
from ex isting congurations in the project, such as Debug and Release.
To specify the text le or pro ject to create,
objectname must be the full
path name to the le, unless your le is in a directory on your MATL AB
software path, or the le is in your CCS working directory. Also, w hen
you create new text les or projects, you must include the le extension
in
objectname.
type accepts one of the strings or entries listed in the following t able.
type String Description
'text'
Create a new text le in the active p roject.
7-94