GetBotVersion function

From StealthBot Wiki Backup
Revision as of 17:39, 13 August 2010 by Ribose (talk) (Development)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The GetBotVersion function returns the current bot's version string.

Development

The GetBotVersion function was added in version 2.6 by request of Imhotep.

Documentation

'// GETBOTVERSION
'// Returns the current StealthBot app version as a string.
Public Function GetBotVersion() As String

    GetBotVersion = CVERSION

End Function

Summary

This function will return a string such as "StealthBot v#.#.#". It may also appear in the format "StealthBot Beta v#.# - Build #". It has historically appeared in the format "StealthBot v#.# Revision #", "StealthBot Beta v#.#", or "StealthBot Beta v#.# Development Release #".

Syntax

Version = GetBotVersion()

Examples

See also