Hard Drive serial number

Paul Salyers ps1 at softseven.org
Tue Jan 25 10:03:53 EST 2005


At 08:41 AM 1/25/2005, Thierry Arbellot wrote:
>VBCode and Rev number are the same
>5083A4C6 is the hexadecimal value of 1350804678
>
>baseConvert("5083A4C6",16,10) convert from hexa to decimal
>
>Hope it helps.
>
>Thierry



I tryed this but it didn't work:

on mouseUp
   --put stsGetSerialNumber("C:") into fld 1 --Hex number this works
   put baseConvert("stsGetSerialNumber",16,10) into fld 1 --Trying to 
convert hex to dec

   --baseConvert("5083A4C6",16,10) --Your suggestion

end mouseUp


What am I doing wrong

the above code didn't produce the same code as our VB programs

Paul Salyers
PS1 - Senior Rep.
PS1 at softseven.org
Http://ps1.SoftSeven.org 



More information about the use-livecode mailing list