ReadSPSSFile (FPScript)
Reads a variable from an SPSS file.
Syntax
ReadSPSSFile(File, VariableNumber)
The syntax of the ReadSPSSFile function consists of the following parts:
Part |
Description |
---|---|
File |
String with the path of the SPSS file to be read. Permitted data structures are scalar value. Supported data types are string (file name). |
VariableNumber |
The one-based index of the variable to be read. Permitted data structures are scalar value. All integral data types are permitted. The value must be greater or equal to 1. |
Remarks
If the argument is a list, then the function is executed for each element of the list and the result is also a list.
Available in
FlexPro View, Basic, Professional, Developer Suite
Examples
ReadSPSSFile("c:\\examples\\file.sav", 2) |
Import the second variable from a SPSS file. |