I own Pattern Explorer and I am trying to learn from the code. In post #28 above the posted code uses these three lines:
#include_once <\PEInc\PatternExplorer_f0.afl>
#include_once "Formulas\PatternExplorer\#Defaults & Mods\PE - Defaults.afl"
#include_once...