Engine.IsCurrentSequenceFileVersion

Syntax

Engine.IsCurrentSequenceFileVersion( FilePath)

Return Value

Long

Purpose

Determines whether the TestStand Engine that saved the specified sequence file is the current version, an older version, or a newer version.

Remarks

The method returns one of the following values:

  • -1 if an older version of the TestStand Engine created the sequence file.
  • 0 if the currently active version of the TestStand Engine created the sequence file.
  • 1 if a newer version of the TestStand Engine created the sequence file.

You can use this method in a sequence editor application that prompts the user before overwriting a sequence file saved in an older format.

Parameters

FilePath As String

[In] Specifies the absolute pathname of the file.

See Also

Engine.MajorVersion

Engine.MinorVersion

Engine.RevisionVersion

Engine.VersionString