Programming With Integers - Keyword List

Chapter chap2 section 12

The final part of this chapter is the promised list of keywords which is given below. Do not use any of these words unless you know what they mean. This restriction does not, of course, apply to text within strings.

auto	   double     int	 struct
break	   else	      long	 switch
case	   enum	      register	 typedef
char	   extern     return	 union
const	   float      short	 unsigned
continue   for	      signed	 void
default	   goto	      sizeof	 volatile
do	   if	      static	 while

If you have any previous experience of programming, you will recognise quite a number of these. Some compilers may support various extra keywords. You will need to consult your compiler manual carefully for details but the following list includes some of the more likely ones. Remember that the use of these keywords and the associated facilities constitute extensions but it is wise to avoid them as they could cause problems when programs are moved to systems whose compilers support such extensions.

asm*	       fortran	      near+	     public*
catch*	       friend*	      new*	     readonly
cdecl	       generic	      operator*	     template*
class*	       globaldef      pascal	     this*
defined	       globalref      pragma	     throw*
delete*	       globalvalue    private*	     try*
entry	       huge+	      protected*     virtual*
far+	       inline*
The words indicated with an asterisk are keywords for the C++ programming language. The words indicated with a plus sign are keywords used by many MSDOS C compilers for extended memory operations.


C and C++