HexToInt?

BlitzMax Forums/BlitzMax Programming/HexToInt?

I ended up wrapping it slightly for error checking:
Function HexToInt( HexStr:String )
	If HexStr.Find("$") <> 0 Then HexStr = "$" + HexStr$
	Return Int(HexStr)
End Function