<viz>.compareVersion

Compare a version of Vizard with the current version

 

<viz>.compareVersion(
    ver    
    current = None    

)

 

ver

A standard Vizard version string


current = None

The value to use as the current version. If None, the actual current version of will be used.


Remarks

This command will compare the specified version of Vizard with the current version and return whether the version is less than, equal to, or greater than the current version.

Return Value

-1 if less than current version
0 if equal to current version
1 if greater than current version

See also

<viz>.requireVersion
<viz>.version