You are here: Surpac Concepts > Macros > SCL > Superseded Commands > SclVersionId
GEOVIA Surpac

SclVersionId

Overview

SclVersionId has been superseded by SclLicenseManager getVersion. For best practice, use SclLicenseManager getVersion, even though SclVersionId remains supported.

You can use this function to identify the version of Surpac that you are running.

Synopsis

SclVersionId

Description

SclVersionId returns the identifier string of the client software (for example, Surpac). This identifier string takes the form of:

<product name> x.y.z <optional release type> <(x64)>

where

  • <product name>
  • Is a descriptive name for the product. This may include spaces.

  • x
  • Is the major version number.

  • y
  • Is the minor version number.

  • z
  • Is the maintenance version number.

  • <optional release type>
  • Is optional and, if present, may be either alpha, beta or special.

  • (x64)
  • Is appended to the version number for 64-bit versions of Surpac.

Examples

#
# This example shows how the full version identifier for the software
# can be obtained
#
puts "executable version id = [SclVersionId]"