! Example document, V3.06

! This is the global formatting command file for the 'example' document,
! and is read and executed automatically when this document is loaded.

! The following header and footer commands define names for any headers and
! footers used in the 'example' document. This avoids possible conflict with
! other documents when using the defaults HEADER and FOOTER.

header = "ExampleHead"
footer = "ExampleFoot"

! The following define single header and footer lines. The header is defined
! to be in red font, demonstrating 'nested' dynamic items.

str function "ExampleHead" = "^CR^Premier 3 Example Document^CBk^"
str function "ExampleFoot" = rightmargin>("Page "+$page)

! These macros define the 'indented' format used in this document.

macro "INDENTON"  { margins = 10, 70  justify = on  }
macro "INDENTOFF" { margins = leftmargin, rightmargin  justify = off }
macro "TB55"      { tab 55 }

! The following 'data' command opens the named 'address' data file.

data "<Premier$Dir>.Data.Example"
