MMScript

Trigger and schedule scripts

<- Back to MMScript function list

MMScript_VersionAutoUpdate

Description

This function returns an Auto Update friendly Version number of MMScript. The format of this version number is always exactly 8 digits long. The first two digits represent the major version of the plug-in (zero-filled). The third and fourth digits represent the minor version of the plug-in (zero-filled). The fifth and sixth digits represent the update portion of the version (zero-filled). The final two digits represent a special build number or a beta version number and will usually be zeros.

As an example, for MMScript 1.1.2, the major version is 1, the minor version is 1, the update number is 2, and there is no special build or beta version defined. So, the resulting Auto Update friendly version number would be 01010200.

Return Type
Number
Format
MMScript_VersionAutoUpdate
Related Items
MMScript_Version
Example

Code:

MMScript_VersionAutoUpdate

Result:

Returns 01010200 for MMScript version 1.1.2.