Why are @, `, and $ not used in C?

Roland Roberts rbr4 at uhura.cc.rochester.edu
Tue Sep 19 23:16:15 AEST 1989


In article <509.nlhp3 at oracle.nl> bengsig at oracle.nl (Bjorn Engsig) writes: 
>...A quick glance on my keyboard shows three characters, @, `, and $
>that cannot be used in C outside of strings.  Is there any historic
>reason for that?

In article <19211 at gatech.edu> ken at gatech.UUCP (Ken Seefried III) writes:
>...DEC VMS C and (I think) CDC NOS/VE C both use $ in identifiers....
>Also...I believe the SunOS 3.x C compilers accept $ in identifiers,

The GNU C compiler also accepts $ in identifiers.

roland-- 
Roland Roberts                      BITNET: roberts at uornsrl
  Nuclear Structure Research Lab  INTERNET: rbr4 at uhura.cc.rochester.edu
  271 East River Road                 UUCP: rochester!ur-cc!uhura!rbr4
  Rochester, NY  14267                AT&T: (716) 275-8962



More information about the Comp.lang.c mailing list