In DBpro you can convert a hex string to a dword value using 'hex to decimal':
myValue = hex to decimal("0x000000ff")
AGK can convert a value into a hex string:
myString = Hex(255)
does it have any way built in to convert the hex string back into a value without having to roll my own parser? I'm not really seeing anything in the help files.
Thanks all,
function HexToByte(rHex as string)
tVal = 0
select left(lower(rHex), 1)
case "0": inc tVal, 0 : endcase
case "1": inc tVal, 16 : endcase
case "2": inc tVal, 32 : endcase
case "3": inc tVal, 48 : endcase
case "4": inc tVal, 64 : endcase
case "5": inc tVal, 80 : endcase
case "6": inc tVal, 96 : endcase
case "7": inc tVal, 112 : endcase
case "8": inc tVal, 128 : endcase
case "9": inc tVal, 144 : endcase
case "a": inc tVal, 160 : endcase
case "b": inc tVal, 176 : endcase
case "c": inc tVal, 192 : endcase
case "d": inc tVal, 208 : endcase
case "e": inc tVal, 224 : endcase
case "f": inc tVal, 240 : endcase
endselect
select right(lower(rHex), 1)
case "0": inc tVal, 0 : endcase
case "1": inc tVal, 1 : endcase
case "2": inc tVal, 2 : endcase
case "3": inc tVal, 3 : endcase
case "4": inc tVal, 4 : endcase
case "5": inc tVal, 5 : endcase
case "6": inc tVal, 6 : endcase
case "7": inc tVal, 7 : endcase
case "8": inc tVal, 8 : endcase
case "9": inc tVal, 9 : endcase
case "a": inc tVal, 10 : endcase
case "b": inc tVal, 11 : endcase
case "c": inc tVal, 12 : endcase
case "d": inc tVal, 13 : endcase
case "e": inc tVal, 14 : endcase
case "f": inc tVal, 15 : endcase
endselect
endfunction tVal
It's clunky, but it gets the job done I guess...

http://games.joshkirklin.com/sulium
A single player RPG featuring a branching, player driven storyline of meaningful choices and multiple endings alongside challenging active combat and intelligent AI.