Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!pasteur!ames!elroy!mahendo!wlbr!hacgate!gryphon!pnet02!ddave From: ddave@pnet02.cts.com (David Donley) Newsgroups: comp.sys.amiga.tech Subject: Going from Mango to Lettuce Message-ID: <13995@gryphon.COM> Date: 31 Mar 89 04:41:13 GMT Sender: root@gryphon.COM Organization: People-Net [pnet02], Redondo Beach, CA. Lines: 18 I am trying to convert a 250 page or so program from MANX to Lattice, and am having a few problems. 1) The program uses the format routine in MANX to do text output. I'm sure there is an equivilent function in Lattice, but I don't know what it is. It would not be fesable to convert the thing to use sprintf. I did an oml on lc.lib, and I found a thing I think might be it: It's called usfmt. I don't know what it's args are though, and the manual doesn't mention it in the libs section. 2) When I compiled the program under manx, it was 153K. When I got it almost finished using lattice, with size optimization and the global optimizer, it was 148K. How can I make it smaller? I am telling the compiler to join all identical strings, and am linking with SMALLDATA and SMALLCODE and NODEBUG. Call the Bug Eyes BBS at (213) 372-4494 ddave@pnet02.CTS.COM ddave@pnet.gryphon.COM killer!gryphon!pnet02!ddave