Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!van-bc!rsoft!mindlink!a218 From: Charlie_Gibbs@mindlink.bc.ca (Charlie Gibbs) Newsgroups: comp.sys.amiga.programmer Subject: Re: help Message-ID: <5904@mindlink.bc.ca> Date: 16 May 91 20:32:03 GMT Organization: MIND LINK! - British Columbia, Canada Lines: 15 In article <1991May17.073147.737@crash.cts.com> neil@pnet01.cts.com (Neil Coito) writes: >I'm using Lattice 5.10 and need help converting a ULONG variable to a string. How about sprintf? It'll work with longs, and you could cast your ULONG to long; I doubt you'll have over 2 gigabytes free. :-) ULONG foo; char bar[10]; sprintf (bar, "%ld", (long) foo); Charlie_Gibbs@mindlink.UUCP "I'm cursed with hair from HELL!" -- Night Court