Session File Structure

Session files always begins with the *Id() statement which is followed by statements grouped in blocks.

Each block begins with a *Begin() statement, such as *BeginPage(), *BeginWindow(), *BeginDefinitions(), and *BeginPlot() and ends with a corresponding *End() statement, such as *EndPage(), *EndWindow(), *EndDefinitions() and *EndPlot(). The four principal blocks in the session file are:
  • *BeginPage()
  • *BeginDefinitions()
  • *BeginPalette()
  • *BeginStatsTemplates()

Each of these parent blocks contain sub-blocks which further define the working session. When a session file is saved in the program, sub-blocks are indented within parent blocks.