public void scan()
           throws Exception
   {
      nextChar();

      while (ch != 0)
      {  // EOF?
         String token = nextToken();

         //We don't want to printout the parenthesis
         if (token != null && !"()".contains(token))
         {
            String tokenType = "";
            System.out.print("=====> \"" + token + "\" ");
            if (token.equals("define"))
            {
               tokenType = "RESERVED WORD";
               System.out.println(tokenType);
               token = nextToken();

               System.out.print("=====> \"" + token + "\" ");
               tokenType = "PROCEDURE";
            }
            else
            {
               tokenType = typeOf(token);
            }
            System.out.println(tokenType);
         }
      }
   }