NAME

hexoct - convert to hex or octal format

SYNOPSIS

#include <basic/string.h>

struct string hexS(n)
short n;

struct string octS(n)
short n;

DESCRIPTION

HexS returns a string of hexadecimal numerals which represent the unsigned value n.  The alphabetic symbols are of the upper case.  This function implements the BASIC HEX$ function. 

OctS returns a string of octal numerals which represent the unsigned value n.  This function implements the BASIC OCT$ function. 

SEE ALSO

string(inc)
hex$(func), oct$(func)

from The Basmark QuickBASIC Programmer’s Manual by Lawrence Leinweber