User`s guide
new
Purpose Create and open text file, project, or build configuration 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 file, a project, or a build configuration. String
objectname specifies the name of the new object. When you create new
text files or projects,
objectname can include a full path description.
When you save your ne w proje ct or fi le, CCS IDE stores the file at the
processor o f the full path.
Ifyoudonotprovideafullpathforyourfile,
new stores the file in the
CCS IDE working directory when you save it. New filesopenasactive
windows in CC S IDE; they are not placed in the active project folders
based on their file extension (compare to
add).
New build configurations always become part of the active project in
CCS IDE. Because build configurations always b eco m e part of a pro ject,
you only need to enter a name to distinguish your new configuration
from ex isting configurations in the project, such as Debug and Release.
To specify the text file or pro ject to create,
objectname must be the full
path name to the file, unless your file is in a directory on your MATL AB
software path, or the file is in your CCS working directory. Also, w hen
you create new text files or projects, you must include the file 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 file in the active p roject.
7-94