home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / aix / 13722 < prev    next >
Encoding:
Text File  |  1993-01-25  |  2.0 KB  |  48 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!geraldo.cc.utexas.edu!portal.austin.ibm.com!awdprime.austin.ibm.com!greenber.austin.ibm.com!jfh
  3. From: jfh@greenber.austin.ibm.com (John F Haugh II)
  4. Subject: Re: Question compiling bash, compiling in general
  5. Sender: news@austin.ibm.com (News id)
  6. Message-ID: <C1Fu3G.28uA@austin.ibm.com>
  7. Date: Tue, 26 Jan 1993 01:42:52 GMT
  8. References: <C0yMHC.9p1@news2.cis.umn.edu> <1993Jan21.221652.27111@g2syd.genasys.com.au> <PRENER.93Jan22022038@prener.watson.ibm.com>
  9. Organization: AIX Software Support, Austin, Republica de Tejas
  10. Lines: 36
  11.  
  12. In article <PRENER.93Jan22022038@prener.watson.ibm.com> prener@watson.ibm.com (Dan Prener) writes:
  13. >In article <1993Jan21.221652.27111@g2syd.genasys.com.au> roberts@g2syd.genasys.com.au (Robert Swan) writes:
  14. >
  15. >   [ . . . ]
  16. >
  17. >> On a related note, I'd like to get it to recognize a C in column 1 as
  18. >> a comment introducer.  I'm also having difficulty getting it to understand
  19. >> the continuation character in column 6.  Moreover, as far as I can tell,
  20. >> the EQUIVALENCE statement is completely broken.  Anyone who can help
  21. >> me with these problems needs help.
  22. >
  23. >If you could post some small examples of the constructs that are not working
  24. >for you, we can probably help.
  25.  
  26. Sure.
  27.  
  28. testit (int counter)
  29. {
  30. C
  31. C    This is the testit function.  It doesn't do very much.  That's why
  32. C    we call it the testit function.
  33. C
  34.     do end counter = 1, 10
  35.         if (counter == 5 .and. sys$time() eq 1000000)
  36.             writeln ('this is a line that is going to be really
  37.      1long by the time I get tired of showing how silly a notion it is to
  38.      2have the C compiler accept every possible language under the sun,
  39.      3unless you thought PL/1 was a great idea.')
  40. end:
  41.  
  42.     STOP
  43.     END
  44. -- 
  45. John F. Haugh II      | Quality is ... knowing who |  MaBellNet: (512) 823-8817
  46. SneakerNet: 042/2F068 | your customer is and what  |      VNET: HAUGH at AUSVM8
  47. [ DoF #17 ] [ TSAKC ] | your customer wants.       |  Disc: I speak 4 me, !IBM.  
  48.