Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!willett!ForthNet From: ForthNet@willett.UUCP (ForthNet articles from GEnie) Newsgroups: comp.lang.forth Subject: Advanced Beginners Message-ID: <1261.UUL1.3#5129@willett.UUCP> Date: 1 Jul 90 23:29:18 GMT Organization: Latest link in the ForthNet chain. (Pgh, PA) Lines: 22 Category 18, Topic 57 Message 7 Sat Jun 30, 1990 D.RUFFER [Dennis] at 23:18 EDT Re: seg@PacBell.COM (S. E. Grove) > I would like a decompilation of the FORTH word U.R. : U.R ( u n) SWAP 0 <# #S #> ROT OVER - SPACES TYPE ; This work in polyFORTH and should be pretty standard. The main difference will probably be on what size of number #S converts. In polyFORTH it takes a double number, thus the 0 is put on before conversion. This word also does not do any checking that the converted number is larger than the field. I contend that the programmer should know this fact before writing the application, but others may disagree with me and insist on the check before the SPACES. Anyway, that is a start. DaR ----- This message came from GEnie via willett through a semi-automated process. Report problems to: uunet!willett!dwp or willett!dwp@hobbes.cert.sei.cmu.edu