Include directive

Include Directives
An include directive inserts another CFDG file into the input stream right after the directive. Context Free/CFDG can handle included files including other files in turn with no real limit on inclusion depth. An include directive looks like the word include followed by the name of the CFDG file to include. This name can either be one of the items in the Examples menu or a file on your hard disk. For files on your hard disk you supply the relative path from the directory where the including CFDG file resides. This means that if a new CFDG file includes another CFDG file (not an example) then you need to save it to disk first so that Context Free/CFDG knows where to base the relative path.

If the file to include is in a different directory or has spaces in its relative path then you must put the relative path in quotes. Quotes are optional if the include file is in the same directory, has no spaces in its name, and ends in .cfdg

produces: