• <GetStart>
  • CSPro User's Guide
    • The CSPro System
    • Data Dictionary Module
    • The CSPro Language
      • Introduction to CSPro Language
      • CSPro Program Structure
      • Programming Standards
      • Change Code Properties
      • Code Folding
      • Debugging CSPro Applications
      • Declaration Section
      • Procedural Sections
      • Logic
      • Language Elements
      • JavaScript Use in CSPro
    • Data Entry Module
    • Batch Editing Applications
    • Tabulation Applications
    • Data Sources
    • CSPro Statements and Functions
    • Text Templates
    • Templated Reporting System
    • HTML, Markdown, and JavaScript Integration
    • Action Invoker
    • Appendix
  • <CSEntry>
  • <CSBatch>
  • <CSTab>
  • <DataManager>
  • <TextView>
  • <TblView>
  • <CSFreq>
  • <CSDeploy>
  • <CSPack>
  • <CSDiff>
  • <CSConcat>
  • <Excel2CSPro>
  • <CSExport>
  • <CSIndex>
  • <CSReFmt>
  • <CSSort>
  • <ParadataConcat>
  • <ParadataViewer>
  • <CSCode>
  • <CSDocument>
  • <CSView>
  • <CSWeb>

Change Code Properties

To modify the properties for a code file, including CSPro logic or JavaScript files, open the File menu and select Manage Application Files. Properties include:
Type
This property determines how the code will be processed by the CSPro compiler and interpreter:
  • CSPro Logic (Main): The application's main CSPro logic file containing procedures as well as optional user-defined functions.
  • CSPro Logic (External): A CSPro logic file that contains user-defined functions that can be called from statements in the main logic file.
  • JavaScript (Global): The file will be evaluated as a JavaScript global script.
  • JavaScript (ECMAScript Module): The file will be evaluated as a JavaScript module.
See also: Manage Application Files