MSI Factory 2.3

String.CompareFileVersions

String.CompareFileVersions

Previous topic Next topic  

String.CompareFileVersions

Previous topic Next topic  

OverviewExamples

number String.CompareFileVersions (

string Version,

string CompareTo )

Description

Compares two file version strings.

Parameters

Version

(string) The first file version string you want to compare.

CompareTo

(string) The second file version string you want to compare.

Returns

(number) A number representing the result of the comparison:

VALUE

DESCRIPTION

-1

The string in Version is less than (<) the string in CompareTo.

0

The string in Version is equal to (=) the string in CompareTo.

1

The string in Version is greater than (>) the string in CompareTo.

See also: Related Actions


Learn More: Indigo Rose Software - MSI Factory - Buy Now - Contact Us