Examples of the use of conditionals (more later... Maybe)

One occasionally needs to conditionally compile (or more accurately, interperate) statements or functions in LaTeX documents. The following is an example of doing this to account for different directory structures on different machines, which access the same file. In this (my) example, defines the graphics path on the current machine.

Example 1:

Use of ifNameofFlag

Boolian input file