This directive is currently only supported on the following targets: Win32, Mac, OS2 and AmigaOS. On other targets, the directive is ignored.
The f$APPTYPE XXXg accepts one argument which speci es what kind of application is compiled. It can have the following values:
Note that on Mac OS such applications cannot take command line options, nor return a result code. They will run in a special terminal window, implemented as a SIOW application, see the MPW documentation for details.
On os/2, these applications can run both full-screen and in a terminal window.
linux applications are always console applications. The application itself can decide to close the standard les, though.
On os/2 and Mac OS, the GUI application type creates a GUI application, as on Windows. On os/2, this is a real Presentation Manager application.