Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ucsd!ucbvax!IFI.UIO.NO!oluf From: oluf@IFI.UIO.NO (Asle Olufsen) Newsgroups: comp.sys.handhelds Subject: Poor documentation ? Message-ID: Date: 27 Sep 90 18:21:40 GMT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: University of Oslo, Norway. Lines: 34 X-Unparsable-Date: Thu, 27 Sep 90 17:27:36 MET DST HP48SX is great, but the manuals are a little thin. There is 3 (as I remember) function that is almost undocumentet. That is NEWOB, APPLY and QUOTE. Is there someone who may explain these functions or give examples of use ? As a test I created the following program: \<< \-> X \<< HALT \>> \>> or << -> X << HALT >> >> I put 1 on the stack and starts the program. The info-area says HALT and X ENTER gives 1 and 'X' EVAL does the same. When I do CONT this effect dissapears. So far so god. Then I put 'X' and 2 on the stack and starts the program. HALT comes up and 'X' is on the stack. I do EVAL and get 'X'. Nothing happens. I may put 'X' on the stack now and do EVAL and gets 2, but a 'X' that is on the stack before I starts the program does not get evaluated. OK, so HP uses statical variabel bindings not dynamic. This could be useful. Then I do CONT and clears the stack. And I put 3 on the stack and starts the program. HALT comes up and I put 'X' on the stack. Then I do CONT which removes the HALT but leaves the 'X' on the stack. Then I do EVAL end gets Eval error: Undefined Local Name. Rats. HP does not use stacical variable binding either. Or do they ? It is perhaps better to say that they use a kind of stacical variable binding which can't be used for something useful. Annoying. Oluf Email: oluf@ifi.uio.no