Thank you for trying out PTVIEW.

Let's try some features of PTVIEW here:

-- Can you see the tab characters below?
	[	]	[	]
     ^^^     ^^^
   Make sure the [Show Tabs] check box on the Tool Bar (at the top)
   is checked. The tab size used is 4. You can use the little
   vertical scroll bar on the Tool Bar to set the tab size you want.

-- If you want to see this /* COMMENT */ in green, check the menu
   item [View | Hightlight Comments].

-- Let's try preprocessing...

   1. First set the working directory, with the menu item
      [Processing | Set Directory], to the directory where this file
      is located, which should also be the directory you installed
      PTVIEW.

   2. Select the menu item [Processing | Preprocess] to start
      preprocessing this file. Make sure that the check box
      [Process Include Files] is checked. Confirm OK to continue.

   Here is some C/C++ preprocessor #if/#endif directives:

   #if defined (SAMPLE)
   // If SAMPLE is defined, this line will be compiled.
   #else
   // If SAMPLE is NOT defined, this line will be compiled.
   #endif

   You can predefine SAMPLE to any value you want with the menu item
   [Processing | Preprocess Settings]. In the [Defines] edit, enter
   something like "SAMPLE=1" (without the quotes).

-- Let's try file inclusion...

   // Include a file here.
   #include "sample1.txt"

   The above preprocessor directive include the file sample1.txt.
   Set that line as the current line by clicking on it. Then, bring
   up the right-mouse menu, select [Dive Into ...sample1.txt] to dive
   into sample1.txt.

   Somewhere in the file inclusion above, SYMBOL_200 is defined.
   This is how you can find out where it is defined:

   1. Double-click here on SYMBOL_200 while holding the Ctrl key.
      This will bring up the symbol value dialog box.
   2. Bring up the right-mouse menu of the dialog box.
   3. Select the menu item [Go To Definition].

-- Let's try some more in sample3.txt...

  // Include sample3.txt here.
  #include "sample3.txt"

