mirror of
https://github.com/natifygh/UGP.git
synced 2024-06-03 06:25:15 +00:00
5 lines
181 B
Plaintext
5 lines
181 B
Plaintext
|
var d,r,l;r=0;d=string_upper(argument0);l=string_length(
|
||
|
d);if(l>6) return -1;for(i=l;i>0;i-=1)r+=(string_pos(
|
||
|
string_char_at(d,i),"0123456789ABCDEF"
|
||
|
)-1) * power(16,l-i);return r;
|