Syntax: NAME [appname][apptype]
This statement identifies the executable file as an application and optionally defines the name and type.
If <appname> is given, it becomes the name of the application as it is known by OS/2. This name can be any valid file name. If <appname> is not given, the name of the executable file - with the extension removed - becomes the name of the application.
If <apptype> is given, it defines the type of application:
WINDOWAPI
If the NAME statement appears, the LIBRARY, VIRTUAL DEVICE and PHYSICAL DEVICE statements cannot appear. If none of these statements appear, the module definition file is assumed to describe an application.
Example
The following example assigns the name calendar to the application being defined.
NAME calendar WINDOWCOMPAT
This application is Presentation Manager-compatible.