Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!decwrl!pa.dec.com!shlump.nac.dec.com!jareth.enet.dec.com!edp From: edp@jareth.enet.dec.com (Eric Postpischil (Always mount a scratch monkey.)) Newsgroups: comp.sys.handhelds Subject: Re: HP48: GCF and LCD programs Message-ID: <20651@shlump.nac.dec.com> Date: 1 Mar 91 14:21:01 GMT References: <1991Mar1.044209.22242@ncsu.edu> Sender: newsdaemon@shlump.nac.dec.com Reply-To: edp@jareth.enet.dec.com (Eric Postpischil (Always mount a scratch monkey.)) Organization: Digital Equipment Corporation Lines: 14 In article <1991Mar1.044209.22242@ncsu.edu>, eagle@catt.ncsu.edu (Daniel L'Hommedieu) writes: [a program to find the greatest common factor of two numbers] You didn't say what RPN language you are trying to translate it into. Here it is for the HP-48: \<< ABS SWAP ABS WHILE DUP REPEAT OVER MOD SWAP END DROP \>> -- edp (Eric Postpischil) "Always mount a scratch monkey." edp@jareth.enet.dec.com