EuoVer

From Wiki
Jump to: navigation, search
The #euoVer system variable displays the version information of the currently executing EasyUO program. The format is as follows: (MAJOR)_(MINOR)_(BUILD).

Example


;Checks to make sure the correct version of EUO is used for your script requirements. 
;#euo = 1_40_88 ,which is version 1.40 (build 0058)  58 hex = 88 dec 
set %euoBuildRequired  $ , 58 
set %euoVersionRequired 1_40 
str Left #euoVer 4 
set %euover #strRes 
str Right #euover 2 
set %euoBuild #strRes 
if  %euoVer <> %euoVersionRequired || %euoBuild < %euoBuildRequired 
{ 
   display ok This program requires EUO version 1.4 (build 0058) or higher in order$ 
+ to work. Download the latest version from www.easyuo.com.$ 
   halt 
}

See Also

Miscellaneous Variables

  • These system variables are not easily categorized in any other category, and therefore are placed here.
#shard Returns which shard you are logged into
#date Returns the local date on your computer
#time Returns the local time on your computer
#sysTime Counts the number of milliseconds since 01/Jan/1980 UTC
#sCnt Timer in seconds since Windows boot
#sCnt2 Timer in tenths of seconds since Windows boot
#pixCol Returns the color of the pixel last saved with savePix
#cursorX Returns the x-coordinate of the cursor
#cursorY Returns the y-coordinate of the cursor
#random Holds a random number
#dispRes Returns button clicked in last call to display
#lShard Set the last shard of your choice
#osVer Returns the OS version
#euoVer Returns the current EasyUO version