cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/13/18:07:30

Date: Wed, 13 Aug 97 18:05:00 EST
From: Stanley Tsang <stsang AT mail DOT bcsl DOT com>
Message-Id: <9707138715.AA871517558@bcslgt.bcsl.com>
To: djgpp AT delorie DOT com
Subject: Integer variables

     Hi, I'm having problems with my integer variables.  My program 
     compliles fine and there are no errors but it just doesn't work right. 
      I cut my code down to the bare minimum before I found a problem with 
     my integer variables.  For some reason, when I assign it to any value 
     (i.e. 0 or 1) and then do a search in using an if loop to test for a 
     certain value, it  just doesn't work.  It seems like the condition is 
     true every time.  I'm only good at programming so I don't have any 
     idea what the problem is.  I'm programming in C and I've installed all 
     the required programs as required and everything is setup as described 
     in the faq.  Is there anything I'm missing here?
     
     Thanks,
     
     STan

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019