Differences between revisions 1 and 2
Revision 1 as of 2023-01-10 20:03:05
Size: 584
Comment:
Revision 2 as of 2023-01-10 20:06:12
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.


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.


CategoryRicottone

SPSS/SystemVariables (last edited 2023-01-13 23:41:04 by DominicRicottone)