• <GetStart>
  • CSPro User's Guide
    • The CSPro System
    • Data Dictionary Module
    • The CSPro Language
    • Data Entry Module
    • Batch Editing Applications
    • Tabulation Applications
    • Data Sources
    • CSPro Statements and Functions
      • Statement Format Symbols
      • Alphabetical List of Functions and Statements
      • List of Reserved Words
      • Deprecated Features
      • Declaration Statements
      • Symbol Functions
      • Item Functions
      • Array Object
      • Audio Object
      • Barcode and QR Codes
      • Case Object
      • Document Object
      • File Object
      • Freq Object
      • Geometry Object
      • HashMap Object
      • Image Object
      • List Object
      • Map Object
      • Path
      • Pff Object
      • SystemApp Object
      • ValueSet Object
      • Program Control Statements
      • Assignment Statements
      • Data Entry Statements and Functions
      • Batch Edit Statements
      • Numeric Functions
      • String Functions
      • Multiple Occurrence Functions
      • General Functions
      • Date and Time Functions
      • External File Functions
      • Synchronization Functions
    • Templated Reporting System
    • HTML and JavaScript Integration
    • Action Invoker
    • Appendix
  • <CSEntry>
  • <CSBatch>
  • <CSTab>
  • <DataViewer>
  • <TextView>
  • <TblView>
  • <CSFreq>
  • <CSDeploy>
  • <CSPack>
  • <CSDiff>
  • <CSConcat>
  • <Excel2CSPro>
  • <CSExport>
  • <CSIndex>
  • <CSReFmt>
  • <CSSort>
  • <ParadataConcat>
  • <ParadataViewer>
  • <CSCode>
  • <CSDocument>
  • <CSView>
  • <CSWeb>

Deprecated Features

As part of a process to simplify and make the CSPro programming language more efficient, some features are going to be deprecated. In future versions, these features may no longer be supported and in fact may be removed from CSPro altogether. When compiling code, you will see deprecation warnings if you are using these features. To turn off these warnings, use the Deprecation Warnings choices on the Options menu.
FeatureVersion RemovedResolution
alphaUse string variables.
boxCSPro 8.0Use recode.
changekeyboardUse the setproperty function with the argument "Keyboard".
demenuCSPro 7.6*
displayUse errmsg with the case keyword.
endsectUse endgroup.
execCSPro 7.0Use the file... series of functions, or the loadsetting and savesetting functions.
getcapturetypeUse the getproperty function with the argument "CaptureType".
impute / vsetUse the valueset option instead of vset.
ioerrorCSPro 7.0Check the return value of the setfile function.
itemlistCSPro 8.0*
JavaScript InterfaceUse the Action Invoker.
reportCSPro 8.0Use Templated Reports.
set array saveCSPro 7.6Use the SaveArray PFF attribute to specify the name of the saved array file.
set attributes assistedSet the field's capture type using the Field Properties dialog or with the setproperty function with the argument "CaptureType".
set attributes protect/nativeUse the protect function.
set attributes refreshCSPro 7.1*
set attributes return/autoskipUse the setproperty function with the argument "UseEnterKey".
set behavior canenterUse the setproperty function with the argument "CanEnterNotAppl" or "CanEnterOutOfRange".
set behavior specialvalueszeroUse the setproperty function with the argument "SpecialValuesZero".
set fileCSPro 7.3Use the setfile function.
set formatCSPro 7.2*
set implicitCSPro 7.2Use the ensure statement to conditionally declare variables.
set languageCSPro 7.3Use the setlanguage function.
set pathCSPro 7.3Use the Data Entry Options dialog to choose operator or system controlled mode.
setcaptureposUse the setproperty function with the argument "CapturePosX" or "CapturePosY".
setcapturetypeUse the setproperty function with the argument "CaptureType" or "CaptureDateFormat".
setreportdataCSPro 8.0Use Templated Reports.
setvalueset with arraysCSPro 8.0Use the ValueSet object to construct dynamic value sets.
syncCSPro 7.2Use the syncconnect, syncfile, and syncdisconnect functions.
writeformCSPro 7.3Consider writing out the contents of the form to a HTML file.
XML exportCSPro 7.6*
* These features do not have workarounds. If you think that you need this functionality, email cspro@lists.census.gov and describe why this feature should not be deprecated.
See also: Breaking Changes