Ninja Library - Debugging Function

njPrintB

Displays a value in binary notation

FORMAT

void njPrintB( 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 binary number.

EXAMPLE

The following outputs the value of 100 as a binary number at location 10,10.
njPrintB(NJM_LOCATION(10,10),100,10);

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()
njPrintC()
njPrintD()
njPrintH()
njPrintF()

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