Reference Guide

3-30 Full Command and Function Reference
Input/Output:
Level 2/Argument 1 Level 1/Argument 2 Level 1/Item 1
{ #n
1
#m
1
}
{ #n
2
#m
2
}
(x
1
, y
1
)
(x
2
, y
2
)
See also: ARC, LINE, TLINE
BUFLEN
Type: Command
Description: Buffer Length Command: Returns the number of characters in the calculator’s serial input buffer
and a single digit indicating whether an error occurred during data reception.
The digit returned is 1 if no framing, UART overrun, or input-buffer overflow errors occurred
during reception, or 0 if one of these errors did occur. (The input buffer holds up to 255 bytes.)
When a framing or overrun error occurs, data reception ceases until the error is cleared (which
BUFLEN does); therefore, n represents the data received before the error.
Use ERRM to see which error has occurred when BUFLEN returns 0 to level 1.
Access: …µ
BUFLEN
Input/Output:
Level 1/Argument 1 Level 2/Item 1 Level 1/Item 2
n
chars
0/1
See also: CLOSEIO, OPENIO, SBRK, SRECV, STIME, XMIT
BYTES
Type: Command
Description: Byte Size Command: Returns the number of bytes and the checksum for the given object.
If the argument is a built-in object, then the size is 2.5 bytes and the checksum is #0.
If the argument is a global name, then the size represents the name and its contents, while the
checksum represents the contents only. The size of the name alone is (3.5 + n), where n is the
number of characters in the name.
Access:
MEMORY BYTES
( °is the left-shift of the Nkey).
Input/Output:
Level 1/Argument 1 Level 2/Item 1 Level 1/Item 2
obj
#n
checksum
x
size
Example: Objects that decompile identically can have different byte sizes and checksums. For instance,
{1}
and
1 'A' STO A {} +
both produce lists containing the number 1. However, the first list contains the built-in object 1
(for a size of 7.5 bytes), while the second list contains a RAM copy of 1 (for a size of 15.5 bytes).
See also: MEM
B
R
Type: Command
Description: Binary to Real Command: Converts a binary integer to its floating-point equivalent.