home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!usc!sol.ctr.columbia.edu!usenet.ucs.indiana.edu!navajo!shulick
- From: shulick@navajo.ucs.indiana.edu (Sam Hulick)
- Subject: Re: Sigh.. OKAY. ReadArgs() is buggy?
- Message-ID: <BzItwD.K21@usenet.ucs.indiana.edu>
- Sender: news@usenet.ucs.indiana.edu (USENET News System)
- Nntp-Posting-Host: navajo.ucs.indiana.edu
- Organization: Vallen Software
- References: <BzHto9.9pG@usenet.ucs.indiana.edu> <S37732V.92Dec19110643@lk-hp-16.hut.fi>
- Distribution: inet
- Date: Sat, 19 Dec 1992 19:24:12 GMT
- Lines: 16
-
- In article <S37732V.92Dec19110643@lk-hp-16.hut.fi>, s37732v@snakemail.hut.fi (Markus Juhani Aalto) says most sayishly:
- >Did you initialize arr array to zeros. Like this arr[0]=0; arr[1]=0; etc..
-
- Oh blah. Don't you hate stupid mistakes? :) Ok, it works now, with
- this addition before ReadArgs():
-
- memset(arr, '\0', sizeof(arr));
-
- Thanks. I probably would've spent the next year trying to figure THAT
- one out. :)
-
- --
- // Amiga 3000 ___ \ Sam Hulick: shulick@indiana.edu (NeXTmail OK!)
- // 68030 25 MHz /__/\ \ My opinions wear combat boots. Or whatever.
- \\// OS 2.04 \__\/ / "Walk! Not bloody likely. I am going in a
- \/ / taxi." --George Bernard Shaw
-