Platform |
Win32, x64 |
Purpose |
To get a sequence number for the user's ClearWin+ library. |
Syntax |
INTEGER FUNCTION SCC_LIB_VERSION@( ) |
Description |
This function returns an integer that is derived from the DATE/TIME at which the library was built (by Silverfrost). This number is guaranteed to increase monotonically with every new release of the library. The function can be used to avoid problems that can occur when the version of ClearWin+ on a user's machine is older than that on the developer's machine (for example the code might use a function that is not present in an older library). You can store the value returned by this function on your machine (as a known integer constant) and include a call to this function in the program code to get the corresponding value on a user's machine. An error condition can be triggered if the user's value is less than your constant value. |