home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / amiga / programm / 17565 < prev    next >
Encoding:
Text File  |  1992-12-21  |  1.1 KB  |  32 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!portal!danb
  3. From: danb@shell.portal.com (Dan E Babcock)
  4. Subject: Re: Sigh.. OKAY.  ReadArgs() is buggy?
  5. Message-ID: <BzI3sz.6s4@unix.portal.com>
  6. Sender: news@unix.portal.com
  7. Nntp-Posting-Host: jobe
  8. Organization: Portal Communications Company -- 408/973-9111 (voice) 408/973-8091 (data)
  9. References: <BzHto9.9pG@usenet.ucs.indiana.edu>
  10. Date: Sat, 19 Dec 1992 10:00:34 GMT
  11. Lines: 19
  12.  
  13. In article <BzHto9.9pG@usenet.ucs.indiana.edu> shulick@navajo.ucs.indiana.edu writes:
  14. >
  15. >(*&%(*@&(*&%!!  I've about had it with this fucking routine!  (If only I
  16. >had the money to buy a book...)
  17.  
  18. I don't want to sound heartless, but if you don't want to pay $20 for the
  19. autodocs (or a bit more for the paper version), you can write your own
  20. ReadArgs (it isn't too hard) and stop wasting the net.
  21.  
  22. >LONG arr[5];
  23. >
  24. >For some WEIRD reason, arr[1] == -1, arr[2] == 0 (this is ok), and
  25. >arr[3] == 32791839!!  What the HELL?  I checked someone else's source
  26.  
  27. Are you initializing "arr" to zero or some default value? If not, you
  28. will see garbage for entries that the user does not modify.
  29.  
  30. Dan
  31.  
  32.