Please enable JavaScript to view this site.

IBM® SPSS® Amos™ 28

Gets the number of variables in a dataset.

Syntax

object.DataFileNVariables ()

object.DataFileNVariables (groupNumber)

The DataFileNVariables method syntax has the following parts:

Part

Description

object

An object of type AmosEngine.

groupNumber

Optional number. If groupNumber is present, it is a group number, where the first group is group number 1. If groupNumber is omitted, the method returns the number of variables in the dataset referred to by the most recent use of the BeginGroupEx method.

Placement: [2].

See Also

DataFileNCases Method

© 2021 Amos Development Corporation