Вы находитесь на странице: 1из 4

Programming in System RPL

-------------------------
Errata
Date of this revision: March 29, 2000
Changes since last revision are marked with a * instead of -.
Page iii
* The new address for my homepage is http://move.to/hp48g .
Page 10
- You only need to quote (i.e., add ' before) and id in a list if you
intend to execute the list (using COMPEVAL) and want the id name in
the stack.
Page 13
- The last two lines of the symbolic disassembly example should be:
x/ ( 2:x 1:[-b+v/[b^2-4*a*c]]/[2*a] )
x= ( 1:x=[-b+v/[b^2-4*a*c]]/[2*a] )
Where v/ is the square root symbol.


Page 14
- In the third line of the first paragraph, RPL was mistakenly printed
as APL.
- The first sentence of the third paragraph has an agreement error. It
should be "There are also..."


Page 19
- In the LAM1 example, the LAM names should not be quoted before.
(Reported by Werner Huysegoms)
Page 20
- The order of the binding is the opposite. 1GETLAM will get the
object that was in level one, 2GETLAM the one in level two, etc.
The example should be changed to:
::
%2 %3
{ NULLLAM NULLLAM }
BIND
2GETLAM
1GETLAM
DUP
2PUTLAM
%+
1PUTLAM
ABND
;
(Reported by Werner Huysegoms)
Page 21
- In the last code example, BIND should be replaced by DOBIND.
(Reported by Adam Zwierko)
Page 28
- UNTIL exits the loop if the flag is TRUE, and repeats it if the flag
is FALSE.
Page 33
- The word setbeep takes its argument in Hz, not in MHz.
(Reported by Erich Rechlin)

Page 37
- In the first line, "When an error..." instead of "When en error...".
(Reported by Len Fellman)
- The second sentence of section 10.1.1 should read: "... were created
before the error trap, and which were created AFTER".
(Reported by Len Fellman)


Page 42
- In the parameter list, where it reads "field2" it should read
"fieldn".

Page 43
- The last parameter of each field definition is called "InitValue".
Page 60
- The correct name for DISP5x7 is Disp5x7, lowercase.
Page 69
- The word that puts the number 20 (14 in hex) in the stack is TWENTY,
not TWELVE.
Page 74
- The correct address of the OVER#+ function is 6372C.
Page 78
- On the second column, the function %1/ should be %%1/.
- On the second column, the funcion %LN should be %%LN.
Page 79
- The address of the %>%%ANGLE funcion is 2AD5B.
Page 86
- The functions a%>$ and a%>$, have been reversed. a%>$ converts a
number without commas; and a%>$, converts a number to a string using
commans, if in FIX mode.
(Reported by Len Fellman)


Page 89
- The description for POS$ should read: "Searches for $find in
$search, starting at position #start. Returns position of $find or 0
if not found."
Page 96
- The correct name for XEQ>ARRY is XEQ>ARRAY.
(Reported by Carlos Bourlot)
Page 107
- The stack diagram for PUTLIST is ( ob #n {} --> {}' )
(Reported by Len Fellman)
Page 132
- In the BAK>OB function description, there is an extra aphostophre.
(Should be "Gets" instead of "Get's").
Page 141
- In the DUMP function stack diagram, it should be NULLLAM (with three
L's)
Page 146
- The correct name for the function listed as JstGetTHEMESG is
JstGETTHEMESG.

Page 157
- The diagram for RPITE is wrong. Should be:
( T ob1 ob2 --> :: ob1 <ob1> <rest> ; )
( F ob1 ob2 --> :: ob2 <ob1> <rest> ; )
(Reported by Len Fellman)
Page 159
- The diagram for case2DROP is wrong. Should be:
( ob1 ob2 T --> :: ; )
( ob1 ob2 F --> :: ob1 ob2 <ob1> <rest> ; )
Page 180
- The word setbeep takes its argument in Hz, not in MHz.
(Reported by Erich Rechlin)

Page 182
- The word INHARDROM? checks for addresses < #80000h in the GX
(#70000h is for the SX). Similarly for NOTINHARDROM?.
(Reported by Daniel Lidstrom)

Page 188
- The word at address #3940B is listed as ClrDA2NoCh. Its correct name
is ClrDA2aNoCh.
- The correct address for the word ClrDA2bNoCh is #39345.
Page 189
- The word DA1Bad? is supported.
- The word listed as unsupported with the name ?SetEditRoll (#39086)
is supported and its name is SetDA2Echo.
Page 209
- The word Do1st/2nd+: (third column) is described in section 41.5.
Page 224
- The word Do1st/2nd+: (third column) is described in section 41.5.
Page 209
- The word DECOMP$ (second column) is described in section 20.3.
Page 210
- The word DoHere: (first column) is described in section 37.2.
Page 214
- The word ROMPANY (second column) is described in section 17.1.
Page 215
- The word SWAP#- (third column) is described in section 17.3.
Page 216
- The word tok9 (second column) is described in section 20.2.
- The word TurnOff (second column) is described in section 39.2.
Page 219
- The word TurnOff (second column) is described in section 39.2.
Page 221
- The word DoHere: (first column) is described in section 37.2.
- The word DECOMP$ (second column) is described in section 20.3.
Page 228
- The word SWAP#- (first column) is described in section 17.3.
Page 230
- The word tok9 (second column) is described in section 20.2.
- The word ROMPANY (second column) is described in section 17.1.
Page 231
- The word putnibs (third column) is described in section 39.2.

Вам также может понравиться