Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!rutgers!ames!ptsfa!ihnp4!cuae2!killer!robertl From: robertl@killer.UUCP (Robert Lord) Newsgroups: comp.lang.c Subject: TC thanks & another question... Message-ID: <1255@killer.UUCP> Date: Thu, 30-Jul-87 23:01:18 EDT Article-I.D.: killer.1255 Posted: Thu Jul 30 23:01:18 1987 Date-Received: Sun, 2-Aug-87 03:59:28 EDT Organization: The Unix(tm) Connection, Dallas, Texas Lines: 18 Keywords: TC, atol(), thanks First off I want to thank all of those who answered my question on long numbers and how to change strings to integers. I have got the long numbers working fine, except now I need some help with atol(). data.sqle is defined in my structure (an include file) as type 'long int'. data.sqft is a string consisting of some numeral value (yes, with quotes and starting at [0] :-). Now why does the command: data.sqle = atol(data.sqft); go crazy when I give it anything larger than 32000 (by 'going crazy' I mean giving the usual wierd numbers that have no connection with the origional one at all)? Please tell me this is not a bug with TC..... Thanks, Robert Lord ..!ihnp4!killer