home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 652 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  939 b 

  1. Path: felix.teclink.net!usenet
  2. From: rad@techlink.net (rad)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Is this a SAS/C bug or have I coded it wrong?
  5. Date: 10 Jan 1996 02:11:04 GMT
  6. Organization: TECLink Internet Services: info@TECLink.Net
  7. Message-ID: <508.6581T1376T2868@techlink.net>
  8. References: <4cfrc5$gsc@misery.millcomm.com>
  9. NNTP-Posting-Host: tc1_42.teclink.net
  10. X-Newsreader: THOR 2.22 (Amiga;TCP/IP) *UNREGISTERED*
  11.  
  12. >Is this a SAS/C bug or am I getting more blind???
  13. >...
  14. >      if ( tmpbuf[0] & 0x1f == 1 )
  15.  
  16. What you probably want is:
  17.  
  18.     if ((tmpbuf[0] & 0x1f) == 1)
  19.  
  20. ------------------------------------------------------------------------------
  21. - Richard Deken                   EMail: (personal) rad@teclink.net
  22. - VLSI design engineer                   (AuE business) rad@aue.com
  23. - Advanced Microelectronics       PGP public key available
  24. ------------------------------------------------------------------------------
  25.  
  26.