NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
char NumOut ( int  x,
int  y,
variant  value,
unsigned long  options = DRAW_OPT_NORMAL 
)
inline

Draw a number.

Draw a numeric value on the screen at the specified x and y location. The y value must be a multiple of 8. Valid line number constants are listed in the Line number constants group. Optionally specify drawing options. If this argument is not specified it defaults to DRAW_OPT_NORMAL. Valid display option constants are listed in the Drawing option constants group.

See Also
SysDrawText, DrawTextType
Parameters
xThe x value for the start of the number output.
yThe text line number for the number output.
valueThe value to output to the LCD screen. Any numeric type is supported.
optionsThe optional drawing options.
Returns
The result of the drawing operation.
Examples:
ex_ArrayBuild.nxc, ex_ArrayMax.nxc, ex_ArrayMean.nxc, ex_ArrayMin.nxc, ex_ArrayOp.nxc, ex_ArraySort.nxc, ex_ArrayStd.nxc, ex_ArraySum.nxc, ex_ArraySumSqr.nxc, ex_atof.nxc, ex_atoi.nxc, ex_atol.nxc, ex_buttonpressed.nxc, ex_contrast.nxc, ex_ctype.nxc, ex_diaccl.nxc, ex_digps.nxc, ex_digyro.nxc, ex_dispgaout.nxc, ex_dispgout.nxc, ex_dispmisc.nxc, ex_div.nxc, ex_findfirstfile.nxc, ex_findnextfile.nxc, ex_FlattenVar.nxc, ex_fopen.nxc, ex_getchar.nxc, ex_getmemoryinfo.nxc, ex_HTGyroTest.nxc, ex_isnan.nxc, ex_joystickexmsg.nxc, ex_joystickmsg.nxc, ex_labs.nxc, ex_ldiv.nxc, ex_memcmp.nxc, ex_motoroutputoptions.nxc, ex_NumOut.nxc, ex_NXTLineLeader.nxc, ex_NXTPowerMeter.nxc, ex_NXTServo.nxc, ex_NXTSumoEyes.nxc, ex_Pos.nxc, ex_proto.nxc, ex_ReadSensorHTAccel.nxc, ex_ReadSensorHTAngle.nxc, ex_ReadSensorHTBarometric.nxc, ex_ReadSensorMSPlayStation.nxc, ex_reladdressof.nxc, ex_SensorHTGyro.nxc, ex_SetAbortFlag.nxc, ex_SetLongAbort.nxc, ex_SizeOf.nxc, ex_StrIndex.nxc, ex_string.nxc, ex_StrLenOld.nxc, ex_strtod.nxc, ex_strtol.nxc, ex_strtoul.nxc, ex_superpro.nxc, ex_SysColorSensorRead.nxc, ex_syscommbtconnection.nxc, ex_sysdataloggettimes.nxc, ex_sysfileread.nxc, ex_sysfilewrite.nxc, ex_sysmemorymanager.nxc, ex_SysReadLastResponse.nxc, ex_SysReadSemData.nxc, ex_SysUpdateCalibCacheInfo.nxc, ex_SysWriteSemData.nxc, ex_TypeOf.nxc, ex_UnflattenVar.nxc, and ex_xg1300.nxc.