Path: utzoo!news-server.csri.toronto.edu!rutgers!psuvax1!wuarchive!sdd.hp.com!news.cs.indiana.edu!rsg1.er.usgs.gov!rsg1.er.usgs.gov!stevev From: stevev@greylady.uoregon.edu (Steve VanDevender) Newsgroups: comp.sys.handhelds Subject: Stupid RPL tricks and some Voyager questions Message-ID: Date: 5 Mar 91 14:40:16 GMT Sender: news@rsg1.er.usgs.gov Distribution: comp Organization: University of Oregon Chemistry Stores Lines: 37 I was amused to note that RPL is sufficiently LISP-like to allow you to code an infinite loop this way: \<< \<< \-> x \<< x x EVAL \>> \>> \-> x \<< x x EVAL \>> \>> Which is equivalent to the Scheme or LISP construction ((lambda (x) (x x)) (lambda (x) (x x))) I just finished the rather painful port of Derek Nickel's Voyager to Turbo C 2.0, necessary because the supplied executable (apparently compiled with Microsoft C 6.0) wouldn't run on my somewhat outdated HP 150. I say painful because although Voyager is not a C++ program, it contains many C++-style comments that regular C compilers choke on, and uses truly horrible VMS-style identifiers containing the '$' character that Turbo C would also reject. (Someone needs to get you an account on a UNIX box, Derek. VMS is a bagbiter.) However, an evening of patching up these unportable constructions produced a version of Voyager that seems to work so far. Now my remaining problem is that although the documentation says that VOYAGER.DOC explains how to create the HP48.MEM file, repeated readings of VOYAGER.DOC didn't turn up said explanation. However, I can guess how it's done so I'll be trying it tonight. -- Steve VanDevender stevev@greylady.uoregon.edu "Bipedalism--an unrecognized disease affecting over 99% of the population. Symptoms include lack of traffic sense, slow rate of travel, and the classic, easily recognized behavior known as walking."