APP_SetScriptVersion

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Core Language > BuiltIn Functions > Application functions >

APP_SetScriptVersion

 

Description

 

Set the script version at run-time.

 

Syntax

 

sVer = APP_SetScriptVersion (Major, Minor, Revision, Build)

 

Returns

 

String: the full version number formatted in the form of: Major.Minor.Revision.Build

 

Parameters

 

Name

Type

Optional

Meaning

Major

Numeric

No

Major version number

Minor

Numeric

No

Major version number

Revision

Numeric

No

Revision number

Build

Numeric

No

Build number

 

Remarks

 

Pre-parsing directive #SCRIPTVERSION is used to indicate script version at pre-parsing time.

 

Restrictions

 

See also

 

Examples