Input/Output:
|
| Level 2/Argument 1 | Level 1/Argument 2 | Level 1/Item 1 |
|
|
|
|
|
|
| { #n1 #m1 } | { #n2 #m2 } | → |
|
| (x1, y1) | (x2, y2) | → |
|
|
|
|
|
See also: | ARC, LINE, TLINE |
|
| |
|
|
|
|
|
BUFLEN | Command |
|
| |
Type: |
|
| ||
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
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 |
|
|
|
→ | nchars | 0/1 |
|
|
|
See also: CLOSEIO, OPENIO, SBRK, SRECV, STIME, XMIT
BYTESType: Command
Description: Byte Size Command: Returns the number of bytes and the checksum for the given object. If the argument is a
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 | ||
Input/Output: |
|
|
|
|
|
|
| Level 1/Argument 1 |
| Level 2/Item 1 | Level 1/Item 2 |
|
|
|
|
|
|
|
| obj | → | #nchecksum | xsize |
| Objects that |
| |||
Example: | 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 | ||||
| (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 | Command |
|
|
| |
Type: |
|
|
|
Description: Binary to Real Command: Converts a binary integer to its