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

bobby spasic at gmail.com
Thu Aug 19 22:26:39 CEST 2010


  On 8/19/2010 9:54 PM, dmitry boyarintsev wrote:
> On Thu, Aug 19, 2010 at 7:36 PM, silvioprog<silvioprog at gmail.com>  wrote:
>>   E.g:
>>
>> 001
>> 002
>> ..
>> 00A
>> 00B
>> ..
>> 0A0
>> 0A1
>> ..
>> ZZZ
>>
>> Is there a native routine in Free Pascal to do that?
> Feels like a college task.
> There's no such routine.
> You can write a routine that converts alphanumeric number to integer
> and back. Since it's easier to evaluate integers.
>
> thanks,
> dmitry
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
Hi,

I have a function for increasing HEX values, based on string 
manipulations, not on conversion to integer and back.
Would that be of any help?

bobby




More information about the Lazarus mailing list