Using the GenStat Command Language

GenStat programs can be typed into any text window and then executed using the Run menu to submit the whole window or just part of it. The output generated by a program will appear in the Output Window. To include the GenStat commands in the output, select Echo Input from the Options menu.

Existing GenStat programs can be loaded into a new text window using Open from the File menu. New windows can be opened for use as scratchpads. You can use the standard Windows editing functions to cut and paste text between different windows, enabling you to use a scratchpad to try out a command before copying it into a program, or extract commands from old GenStat programs.

You can save the contents of a text window using the Save or Save As commands from the File menu. The File menu always operates on the currently active window, indicated by a highlighted title bar, so ensure that the desired window is active by clicking on the title bar before using the File menu. Having run a program you can save the contents of the Output Window in the same way.

If you use the menus to perform part of your analysis you will find that the generated commands will be echoed to the Input Log. These can be saved on their own or copied to another text window in which you are constructing a GenStat program.

There is full on-line help for the GenStat language, including full details of procedures in the current Procedure Library.

See Also