Navigation:  ThinBASIC Modules > Core (thinBasic Core Engine) > Application functions >

APP_SetScriptVersion

Previous pageReturn to chapter overviewNext page

 

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