The logic file contains all the CSPro language
statements which control the application. There is a logic file associated with each application. CSPro does not allow you to explicitly open the logic file. It is opened only when you open its associated application.
By default, the logic file has the same name as the application file, but with a different extension, .apc. This is not a requirement, however. Advanced users who change the name of this file must also remember to change the corresponding name in the application file.
You can associate multiple logic files with an application, which can be useful if you have a library of functions that you would like to share across several applications. To do this, select File -> Add Files
and then choose the external logic file to add to the application. The names of any variables or functions defined in that logic file cannot clash with the names used in the application's primary logic file. If you no longer want to use the external logic file, you can remove it by selecting File -> Drop Files
The logic file is a text file which may be viewed with any text editor, such as Text Viewer or Notepad. While you may make changes to this file outside the CSPro environment, CSPro provides a powerful text editor which is integrated with the CSPro compiler.
Prior to CSPro 6.0, logic files had the extension .app. Although the default extension has changed, CSPro can still read applications that have logic files with the .app extension.