latitude

The FileHeader Object

FileHeader := Object clone.

A FileHeader object is created as the result of a call to Kernel readHeader. FileHeader is a data-only object, in that it has no nontrivial methods defined on it and is primarily used to store structured data.

A Latitude file header is a sequence of zero or more lines at the top of the file beginning with ;;*. Each line of the header should consist of a key and a value, separated by spaces. A file header can contain the following keys.

The order of the lines in a header does not matter, but each key can appear at most once in a header.

Every Latitude module is required to have a module and package name.

Example header:

;;* MODULE kinematics
;;* PACKAGE com.example.physics

Simple Slots

FileHeader toString := "FileHeader".
FileHeader packageName := Nil.
FileHeader moduleName := Nil.

[up]
[prev - The Exception Object and Built-in Exceptions]
[next - The FilePath Object]