Reference Guide
3-36 Full Command and Function Reference
The character codes are an extension of ISO 8859/1. Codes 128 through 160 are unique to the
calculator. See Appendix J for a complete list of characters and character codes.
The default character
ā
is supplied for all character codes that are not part of the normal
calculator’s display character set.
Character code 0 is used for the special purpose of marking the end of the command line.
Attempting to edit a string containing this character causes the error Can't Edit Null Char.
You can use the CHARS application to find the character code for any character used by the
calculator. See “Additional Character Set” in Appendix D of the HP 50g User’s Guide.
Access: !°
TYPE
L
CHR
( °is the left-shift of the Nkey).
Input/Output:
Level 1/Argument 1 Level 1/Item 1
n
→
“string”
See also: NUM, POS, REPL, SIZE, SUB
CIRC
Type: Command
Description: Composes two permutations.
Access: Arithmetic, !Þ
PERMUTATION
Input: Two lists, L1 and L2, representing two permutations. The composition L1○L2 is the permutation
equivalent to performing permutation L2 first and L1 second.
Level 2/Argument 1: L1
Level 1/Argument 2: L2
Output: A list representing the single equivalent permutation, L = L1○L2
Example: Compose the permutations given by {3,4,5,2,1} and {2,1,4,3,5}
Command: CIRC({3,4,5,2,1},{2,1,4,3,5})
Result: {4,3,2,5,1}
See also: C2P, P2C
CKSM
Type: Command
Description: Checksum Command: Specifies the error-detection scheme.
Legal values for n
checksum
are as follows:
•
1-digit arithmetic checksum.
•
2-digit arithmetic checksum.
•
3-digit cyclic redundancy check (default).
The CKSM specified is the error-detection scheme that will be requested by KGET, PKT, or
SEND. If the sender and receiver disagree about the request, however, then a 1-digit arithmetic
checksum will be used.
Access: …µ
CKSM
Input/Output:
Level 1/Argument 1 Level 1/Item 1
n
checksum
→
See also: BAUD, PARITY, TRANSIO