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

silvioprog silvioprog at gmail.com
Fri Aug 20 04:54:17 CEST 2010


  Em 19/08/2010 16:54, dmitry boyarintsev escreveu:
> 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

Hi dmitry,

I need to increment (and if possible, decrement) a VarChar field.

Thanks for the help, it's an interesting idea to convert to integer and 
later increase. :)

Silvio Clécio




More information about the Lazarus mailing list