⇤ ← Revision 1 as of 2023-01-10 20:03:05
Size: 584
Comment:
|
Size: 639
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 16: | Line 16: |
To create an 8-digit unique identifier number, try: |
SPSS System Variables
System variables track the current state of the interpretter.
The dollar sign ($) is a disallowed leading character for user-defined variables because this is reserved for system variables.
Contents
CaseNum
$CASENUM holds the current case's row number.
To create an 8-digit unique identifier number, try:
compute UniqueID = 10000000 + $casenum.
Time
$TIME holds the current date and time as the number of seconds from October 14, 1582, to the execution time of a command accessing it.