Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!pitt!willett!ForthNet From: ForthNet@willett.pgh.pa.us (ForthNet articles from GEnie) Newsgroups: comp.lang.forth Subject: PYGMY Forth Message-ID: <2357.UUL1.3#5129@willett.pgh.pa.us> Date: 18 Feb 91 02:00:26 GMT Organization: (n.) to be organized. But that's not important right now. Lines: 31 Category 1, Topic 45 Message 68 Sun Feb 17, 1991 C.CLARK21 at 19:23 EST I am working on a program for my Forth Construction course and I ran into a problem. It is a fairly simple program -- convert farenheit to celcius using scaled integers instead of floating point numbers. I understand how to do the program except for one part. I can't get the output format routine to work correctly. We are using the book _Starting_Forth_ by Leo Brodie for the course and I was trying to use a routine similar to the one on page 111: : #.#### DUP ABS 0 <# # # # # 46 HOLD # ROT SIGN #> TYPE SPACE; I am using PYGMY v 1.2 to do it. I already eliminated the 'TYPE' because pygmy doesn't require it. I can make it work with unsigned numbers by removeing the DUP, ABS, ROT, and SIGN but cannont seem to make it work with signed numbers. Does anyone have any ideas? I am really stuck (and the program is due tomorrow!). Thanks, Craig [I ported this because of general interest value, not because of the (now outdated) plea at the end. -dwp] ----- This message came from GEnie via willett. You cannot Reply to the author using email. Please post a follow-up article, or use any instructions the author may have included (USMail addresses, telephone #, whatever). Report problems to: dwp@willett.pgh.pa.us or uunet!willett!dwp