cvs.gedasymbols.org/archives/browse.cgi | search |
From: | sephiroth <sephiroth AT id-base DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: EUREKA... note about pcx header |
Date: | Wed, 11 Aug 1999 01:04:52 +0100 |
Organization: | NTL Internet News Service |
Lines: | 14 |
Message-ID: | <37B0BE23.2326F43C@id-base.com> |
References: | <Dd1s3.242$dr6 DOT 4824 AT news1 DOT rdc2 DOT on DOT home DOT com> |
NNTP-Posting-Host: | p21-mizar-rea.tch.cableol.net |
Mime-Version: | 1.0 |
X-Trace: | nclient9-gui.server.ntli.net 934329959 22750 194.168.35.21 (11 Aug 1999 00:05:59 GMT) |
X-Complaints-To: | postmaster AT ntli DOT net |
NNTP-Posting-Date: | 11 Aug 1999 00:05:59 GMT |
X-Mailer: | Mozilla 4.5 [en] (Win95; I) |
X-Accept-Language: | en |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Yes, you just discovered a miracle. Well not really. From my knowledge just putting "int" as the data type will make an integer which can vary between short or long I think( in a technical way, sorry it's 1:04am and I want to go to bed). But when you write the int to a file it writes it as a long, same a reading. Amazing? I always get by this problem by specifically defining a short or a long. I think this is good practice. -- ---All words by--------------------------- ---"Shiny Blue Freak", AKA Aaron JP------- -"I'm a person, think of me as non other"- --------http://get.to/blahblur------------
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |