L64A - convert long integer to base 64 ASCII string.

(Compatible with UNIX System V C)

Usage:

char *l64a();
s = l64a(l);

Where:

long l;
is the long integer to be converted.
char *s;
points to a number written as an ASCII string. Each character represents a digit in base 64 notation. The character '.' represents 0, '/' represents 1, '0' to '9' represent 2 to 11, 'A' to 'Z' represent 12 to 37, and 'a' to 'z' represent 38 to 63.

Description:

The "l64a" function converts a long integer into an ASCII string giving a number in base 64 form. The pointer returned by "l64a" points to a static area where the string is stored. "l64a" always uses the same static area, so each successive call overwrites the previous string result.

See Also:

expl c lib a64l

Copyright © 1996, Thinkage Ltd.