Engine.IsCurrentSequenceFileVersion
- 更新时间2025-07-21
- 阅读时长1分钟
Engine.IsCurrentSequenceFileVersion
Syntax
Engine.IsCurrentSequenceFileVersion( FilePath)
Return Value
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.