Please enable JavaScript to view this site.

IBM® SPSS® Amos™ 28

Initializes the Amos engine and specifies file names and locations for default output.

Syntax

object.Initialize (projectName)

The Initialize method syntax has the following parts:

Part

Description

object

An object of type AmosEngine.

projectName

A fully qualified path without any file extension. The output generated by the TextOutput method is written to the file projectName.AmosOutput. The output file used for displaying results on the path diagram in Amos Graphics is called projectName.amp.

Placement: Before any other AmosEngine methods or properties.

Default

The use of Initialize is optional. By default, the output generated by TextOutput is written to the file temppath\AmosScratch.AmosOutput, where temppath is the Windows system temporary directory. Results to be displayed on the path diagram in Amos Graphics are written to the file temppath\AmosScratch.amp.

Remarks

The TextOutputFileName method returns the name of the file that contains the output from TextOutput.

See Also

Shutdown Method

© 2021 Amos Development Corporation