home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / amiga / programm / 15903 < prev    next >
Encoding:
Text File  |  1992-11-16  |  1.3 KB  |  35 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!gatech!concert!sas!mozart.unx.sas.com!walker
  3. From: walker@twix.unx.sas.com (Doug Walker)
  4. Subject: Re: What is wrong with this very simple c program?
  5. Originator: walker@twix.unx.sas.com
  6. Sender: news@unx.sas.com (Noter of Newsworthy Events)
  7. Message-ID: <BxtBKL.LGI@unx.sas.com>
  8. Date: Mon, 16 Nov 1992 14:14:44 GMT
  9. References: <BxIpyB.E7@unx.sas.com> <johnv.03kr@acix.DIALix.oz.au>
  10. Nntp-Posting-Host: twix.unx.sas.com
  11. Organization: SAS Institute Inc.
  12. Lines: 21
  13.  
  14.  
  15. In article <johnv.03kr@acix.DIALix.oz.au>, johnv@acix.DIALix.oz.au (John Verhoeven) writes:
  16. |> Whats even more fun :-) is that in some compilers accessing arrays with
  17. |> a negative subscript is also legal, eg foo[-1] = 5.
  18. |> 
  19. |> Does SAS C V6 allow this ?
  20.  
  21. Yes, it's part of the standard and all ANSI-compliant compilers
  22. allow it.
  23.  
  24. |> John Verhoeven                        johnv@acix.DIALix.oz.au      _--_|\
  25.  
  26. -- 
  27.   *****
  28. =*|_o_o|\\=====Doug Walker, Software Distiller====== BBS: (919)460-7430 =
  29.  *|. o.| ||                                          1200/2400/9600 Dual
  30.   | o  |//     For all you do, this bug's for you!
  31.   ====== 
  32. usenet: walker@unx.sas.com                            bix: djwalker 
  33. Any opinions expressed are mine, not those of SAS Institute, Inc.
  34.  
  35.