OP Get version number

4D - Documentation   Français   English   German   4D Open for 4D, Command Theme List   4D Open for 4D, Command Alphabetical List   Back   Previous   Next

version 6.0


OP Get version number Version number

ParameterTypeDescription
This command does not require any parameters
Function resultVersion numberVersion number of 4D Open for 4D

Description

OP Get version number gives you the version number of 4D Open for 4D.

This command returns the version number (6xx) in the High Word and the build number in the Low Word.

Examples

1. Version 5:

   $Version:=OP Get Version Number 
      ` In order to get the High Word
   StringVers:=String($Version\ 65536)  
      ` In order to get the Low Word
   StringVers:=StringVers+" Build: "+String($Version% 65536)  

2. Version 6:

   $Version:=OP Get Version Number
      ` In order to get the High Word
   StringVers:=String($Version >> 16) 
      ` In order to get the Low Word
   StringVers:=StringVers+" Build: "+String($Version & 65535) 

4D - Documentation   Français   English   German   4D Open for 4D, Command Theme List   4D Open for 4D, Command Alphabetical List   Back   Previous   Next