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 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

 

 

 

nchars

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

#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 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

 

 

 

 

 

 

 

 

 

BR

Command

 

 

 

Type:

 

 

 

Description: Binary to Real Command: Converts a binary integer to its floating-point equivalent.

3-30 Full Command and Function Reference