<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
Assignment Statement
Recode Statement
Recode Statement (Deprecated)
Impute Function
SetValue Function
GetValue Function
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>
Assignment Statement
Format
numeric_variable
=
numeric_expression
;
string_variable
=
string_expression
;
Description
The assignment statement sets a variable equal to the value of an
expression
. If the expression is numeric or conditional, then the variable must be numeric. If the expression is a string expression, then the variable must be alphanumeric.
Examples
AGE =
10
;
Q102 = PREV_AGE;
Y =
sqrt
(X);
NAME =
"John Doe"
;
NAME =
"John "
+
toupper
(
"Doe"
);
See also
:
SetValue Function