Path: utzoo!attcan!uunet!mcsun!hp4nl!charon!cwi.nl From: jurjen@cwi.nl (Jurjen NE Bos) Newsgroups: comp.sys.handhelds Subject: HP48SX funny bugs, and TRACE replacement Message-ID: <1920@charon.cwi.nl> Date: 2 Aug 90 14:34:44 GMT Sender: news@cwi.nl Organization: CWI, Amsterdam Lines: 56 Playing with my 48, I found some bugs that I did not see reported by others yet. I found the following bugs on the HP48SX (version D): Type [EQUATION] [{}] 1 / 7 + 2 [y^x] 5 + 3 - Now type [{}] [<-]. You would expect only the - to disappear, but that doesn't happen: It invents an entirely new formula for you. How about this one: Put 7 in I by 'I=7' DEF or 7 'I' STO. Now watch the difference between 'N' {N I} | (giving 'I', wich is wrong), and 'N*1' {N I} | (giving the correct answer 7). Why does | forget to evaluate? A not so serious one, but it is still a bug: Type [EQUATION] to get into the equationWriter, and type (2+3 [triangle <-] now you can go all the way to the left by [blue-shift] [triangle <-], but you cannot reach this location by repeated [triangle <-]. The rules act as if the + is selected. If you want to use the equivalent of TRACE on the 28, you can use the the vectored ENTER to help you. Enter the programs: alphaENTER (25.5 bytes, #CA4Dh) \<< PR1 OBJ\-> \>> and betaENTER (118.5 bytes, #F6B1h) \<< IF DUP "" == THEN DROP "?" END 'KEY' \->TAG PR1 DROP IF DEPTH THEN DUP 1 \->TAG ELSE "[Empty Stack]" END PR1 DROP \>> Set flags -62 (user mode) and -63 (vectored ENTER). Make sure the output is sent to the right port (printer to IR or wire). Maybe you want to set -61 (USER toggle) to switch in and out USER mode more quickly. Watch out if you use USER key assignments. A tip: execute {STO 32.1 PURGE 54.2} STOKEYS so that STO and PURGE get a message when typed (Yes, this is another bug. It is a result of the fact that the keys differ from their commands (the keys save the old contents in LASTARG)). Happy playing, Jurjen -- | | "Never imagine yourself not to be otherwise than what | | Jurjen N.E. Bos | it might appear to others that what you were or might | | | have been was not otherwise than what you had been | | jurjen@cwi.nl | would have appeared to them to be otherwise." |