help
Jay R. Ashworth
jra at baylink.com
Fri Nov 9 12:19:01 PST 2007
On Fri, Nov 09, 2007 at 03:10:55PM -0500, Laura Brody wrote:
> Quoting "Jay R. Ashworth" <jra at baylink.com>:
> > You're working with base 36 integers. I assume you're using the
> > traditional increment approach where:
> >
> > 08..09..0a..0b...0y..0z..10..11...19..1a.... ?
> >
> > There's no native method of dealing with base-36 numbers in filepro,
>
> **BZZZZT** Wrong! Thanks for playing .....
>
> Page 32 of Laura's Quick Reference Guide for filePro v5.0 says:
>
> v4.5 BASE() Returns the value of numb in the numeric base result_base
> ("2"-"36")
> n=BASE(n,num_base,[result_base])
> The third parameter is optional, if omitted, the default is "10".
So you can translate from your b-36 back to b-10, increment, and then
translate back. Nice. Forgot that was in there. Nice that it goes up
to 36, too, and anyone who ever wondered why *that* limit? This is why.
Cheers,
-- jra
--
Jay R. Ashworth Baylink jra at baylink.com
Designer The Things I Think RFC 2100
Ashworth & Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274
More information about the Filepro-list
mailing list