Definition:
#include <aPrint.tea>
| void aPrint_IntDec( | int i); |
Parameters:
| i | - | The integer to format and display as a decimal number. |
Return Value:
This routine does not return a value.
Description:
This routine formats the integer variable as a decimal number and displays the result on the Console Output Area. The TEA virtual machine places each character of the text representation of the decimal value in a packet with a leading cmdVM_MSG byte (0x84) and process ID byte and sends it across the link for display. The number of digits depends on the value.
Example:
aPrint_IntDec(0x03E8);
This would add the characters "1000" to the current output line for the Console.
aPrint_IntDec(0xFFFF);
This would add the characters "-1" to the current output line for the Console.
Related:
version: 1.0, build n.a.
© Copyright 1994-2012 Acroname, Inc., Boulder, Colorado. All rights reserved.