home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / cplus / 13561 < prev    next >
Encoding:
Internet Message Format  |  1992-09-12  |  2.0 KB

  1. Path: sparky!uunet!mcsun!uknet!harlqn!bear
  2. From: bear@harlqn.co.uk (Andy Edwards)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Tiny proposal for named loops.
  5. Message-ID: <BEAR.92Sep12155131@eve.harlqn.co.uk>
  6. Date: 12 Sep 92 15:51:31 GMT
  7. References: <aldavi01.714376080@starbase.spd.louisville.edu>
  8.     <TSOS.61.714395736@uni-duesseldorf.de>
  9. Sender: news@harlqn.co.uk (Usenet News Account)
  10. Organization: Harlequin Limited, Cambridge, England
  11. Lines: 40
  12. In-Reply-To: TSOS@uni-duesseldorf.de's message of 21 Aug 92 11:15:36 GMT
  13.  
  14.  
  15. Hi,
  16.  
  17. *In article <aldavi01.714376080@starbase.spd.louisville.edu> aldavi01@starbase.spd.louisville.edu (Arlie Davis) writes:
  18. *
  19. *>Since the language ...[double click here to expand text]...
  20. *
  21. *I like your idea. It could certainly make C[++] code safer
  22. *and more legible. There shouldn't be any syntactical problem
  23. *with
  24. *
  25. *     if [<id>] (<expression>) <statement>
  26. *     switch [<id>] (<expression>) <statement>
  27. *     while [<id>] (<expression>) <statement>
  28. *     do <statement> while [<id>] (<expression>) ;
  29. *     for [<id>] (...;...;...) <statement>
  30.  
  31. I agree, these would be an added boon to coders.
  32.  
  33. *Talking about blocks: Have there been any discussions about
  34. *a possible assignment of identifications to blocks? Something
  35. *like
  36. *
  37. *     {<block-id>
  38. *        ...
  39. *     <block-id>}
  40.  
  41. This is taking C++ back to it's roots (ie BCPL!)
  42.  
  43. Best Regards,
  44. andy
  45.  
  46. +--: Andy Edwards :----------*=================*------------------------------+
  47. | Macintosh fire fighter,    | Harlequin Ltd.  |      uucp: bear@harlqn.uucp  |
  48. | Deity, PostScript language | Barrington Hall |     janet: bear@uk.co.harlqn |
  49. | level 2 porter and PAP     | Barrington      | applelink: harlequin         |
  50. | server clone originator.   | Cambridge       |     voice: 0223 872522       |
  51. | *They that have power to   | CB2 5RG         |            +44-223-872-522   |
  52. |  hurt, and will do none*   | England         |       fax: 0223 872519       |
  53. +----------------------------*=================*------------------------------+
  54.