Description

Increments the minor revision component of the supplied revision. The method assumes the supplied revision has a major and minor component.

e.g. PXX.XX (where X is a numeric character)

Syntax

Function IncrementMinorRevision(Revision) As String

Parameters

Name

Data Type

Description

Revision

String

The complete revision code

Return

Returns the incremented revision string.

Example

'create Pentagon DOCS Script Library object

Set scriptLib = GetExtensionObject("PentagonDOCS.Core.ScriptLibrary")


'increment minor revision

Output = scriptLib.IncrementMinorRevision("P01.05")

'returns "P01.06"