# I'm a newbie to C and the Palm OS and have only recently started to write
# an application with Codewarrior Lite for Mac. So far reading
# through this mailing list has given me lots of tips and insights.
#result = 10 * 3600; // Here I get -29536 instead of 36000 when
I am a 100% amateur, but I'd write
result = (Long) 10 * 3600;
Does it work? Best regards, Paul [author of pedit at
http://www.math.ohio-state.edu/~nevai/palm/]
Paul Nevai [EMAIL PROTECTED]
Department of Mathematics http://www.math.ohio-state.edu/~nevai/
The Ohio State University http://www.math.ohio-state.edu/~jat/
231 West Eighteenth Avenue http://www.math.ohio-state.edu/~nevai/palm/
Columbus, Ohio 43210-1174 1-614-292-5310 (Office/Answering Device)
The United States of America 1-614-292-1479 (Math Dept Fax)
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html