To convert between a hex string and an integer or byte variable use the cvt_hexint command This has two arguments the first is the variable to store the result in and the second is the string containing the hex value. To convert an integer to a hex string use the cvt_inthex statement this takes a string as the first argument and a integer containing the value to convert as the second argument.
The statements cvt_toupper and cvt_tolower convert a string from upper to lower case they both take a single argument which is the string to convert.
//---------------------------------------
// File: Conversions.e
//---------------------------------------
//---------------------------------------
// Block: go
//---------------------------------------
block Go
String = "aBcDeF"
//convert to upper case
cvt_toupper String
outl String
String = "aBcDeF"
//convert to lower case
cvt_tolower String
outl String
//convert to integer
String = "ff"
cvt_hexint IntValue String
//convert to hex
outl IntValue
cvt_inthex String IntValue
outl String
_block