Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!asuvax!stjhmc!p12.f56.n114.z1.fidonet.org!Chris.Gehlker From: Chris.Gehlker@p12.f56.n114.z1.fidonet.org (Chris Gehlker) Newsgroups: comp.sys.mac.programmer Subject: Unsigned long integer in THINK C Message-ID: <34036.27833A52@stjhmc.fidonet.org> Date: 3 Jan 91 14:01:32 GMT Sender: ufgate@stjhmc.fidonet.org (newsout1.26) Organization: FidoNet node 1:114/56.12 - AZ MAC UG, Phoenix AZ Lines: 11 1> I have a program with unsigned long integer. If values are initiated 1> 2^31 or greater, THINKC doesn't understand. I was using %ld because 1> %ul or somthing was not defined. How can I avoid this problem? Try %lu. -- Uucp: ...{gatech,ames,rutgers}!ncar!asuvax!stjhmc!56.12!Chris.Gehlker Internet: Chris.Gehlker@p12.f56.n114.z1.fidonet.org