Ninja Library - Debugging Function

njPrintH

Displays a value in hexadecimal notation

FORMAT

void njPrintH( loc, val, digit )
Int loc
Int val
Int digit

PARAMETER

 loc   Display position 
 val   Value 
 digit   Number of output digits 

RETURN

None

DESCRIPTION

Displays the specified value on screen as a hexadecimal number.

EXAMPLE

The following outputs the value of 100 as a 3 hexadecimal digits at location 10,10.
njPrintH(NJM_LOCATION(10,10),100,3);

NOTE

The display position is specified by NJM_LOCATION(x,y). The x,y value gives the line and column for the character string. If the value is greater than the number of output digits, the value following the number of output digits is output.

REFERENCE

njPrintColor()
njPrintB()
njPrintC()
njPrintD()
njPrintF()

njPrintH
COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999