ReadSPSSFile (FPScript)

21.09.2021

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

File Import

Share article or send as email:

You might be interested in these articles