Ninja Library - Debugging Function

njPrintD

Displays a value in decimal notation

FORMAT

void njPrintD( 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 decimal number

EXAMPLE

The following outputs the value of 100 as 3 digits at location 10,10.
njPrintD(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()
njPrintH()
njPrintF()

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