Hi Darren

Try something like this

1. set the length of the string
2. iterate through the array using chr to set each character of the
string.

> Do I have to convert the hex to decimal
No, common mistake: "Hex" and "decimal"  refer to string
representatioms of numbers. but in your case they are just bytes.

$68 and 104 (the decimal equivalent) mean exactly the same thing to
the compiler so chr($68) and chr(104) both give "h".

> and then use the Ord function,
No, the inverse (chr).

> or is there a single function that will do the job ?
Noi that I am aware of..

Henry Bartlett
HABit utilities
http://www.hotkey.net.au/~hambar/habit/







_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to