daemon@rutgers.UUCP (01/28/87)
From: prindle@NADC I know for sure that argc/argv work properly in C Power 2.9. Remember that argc will always be zero when running a stand-alone program (not under the shell) because you don't have any opportunity to specify arguments. But under the shell it works fine: prog first "second one" third will return argc==3 and argv[1] will be "first", argv[2] will be "second one", argv[3] will be "third". Can't imagine why it isn't working in your case. Re: "if (x1==0 && x2==0)" not working because of precedence of && relative to ==. I just can't believe this is a bug or umpteen programs I've compiled would not be working! But I'll check it out on C-Power 64 and C-Power 128 when I get a chance. Sincerely, Frank Prindle Prindle@NADC.arpa