FlexPro
HistoryBase
Engineering
Training
Downloads
FlexPro Support
Knowledge
Community
About us
References
Jobs
General Contact
List Of Retailers
FlexPro Support
EN
DE
FR
Placeholder

FlexPro Documentation 2025

ReadSPSSFile

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.

See Also

Data Import