[Lazarus] How can I increment/decrement a alphanumeric value?

Antônio antoniog12345 at gmail.com
Mon Aug 30 10:35:04 CEST 2010


There is a problem wiht Num2Dec.

for
Hex := 'G'
Dec2Numb(Numb2Dec(Hex, 16) - 1, {Length(Hex)} 2, 16)  will not refuse
'G' as an invalid hexadecimal number. The result would be 'F'.

Antônio




More information about the Lazarus mailing list