Headers and related files

Quit BP2 and double-click "-gr.koto3". This will automatically load the grammar and the related "-ho.abc1" alphabet, for two reasons:

• The first line of grammar "-gr.koto3" contains the name of its alphabet.
• "-ho.abc1" (or an alias of it bearing the same name) was in the same folder as "-gr.koto3".

Here is a very important feature of BP2: "projects" are made of several files linked together. This is a modular approach since that the same file (e.g. "-ho.abc1") may be shared by several projects. Whenever BP2 loads a file it scans its top lines searching the names of related files. If related files are found they will be loaded whenever necessary. For instance, the top of the grammar window for project "-gr.koto3" indicates:


i.e. the names of several related files. (Their use will be explained later.) In turn, the "Alphabet" window, in which "--ho.abc1" has been loaded, contains the name of the sound-object prototype file "-mi.abc1" required for its operation.

Generally you don't need to type or modify headers. For instance, if the grammar contains no header, as soon as you load an alphabet BP2 will insert a header with its name on tip of the "Grammar" and "Data" windows. If you save the alphabet file under a different name, or open another file, these headers are automatically updated accordingly. If you delete the alphabet headerers are removed...

You can look at the different files loaded: see menu "Windows" and try to remember keyboard shortcuts. As usual with Macintosh® software, BP2 keeps a trace of changes and prompts you to save or discard them before you clear a window or exit the program. However, it has a non-standard an altogether safe feature: the first time you type cmd-s after making changes, it prompts you to confirm the name and location of the file.

Closing a window with text or graphic data does not clear its content, except for the "Trace" window. It is sometimes useful to simplify the screen display. Systems above 7.5.1 also make it possible to reduce windows to their drag regions: a double or triple click on the title bar does the job.